_xiaofang/xiaofang/Assets/Obi/Resources/Compute/InertialFrame.cginc
2024-12-18 01:28:15 +08:00

18 lines
279 B
HLSL

#ifndef INERTIALFRAME_INCLUDE
#define INERTIALFRAME_INCLUDE
#include "Transform.cginc"
struct inertialFrame
{
transform frame;
transform prevFrame;
float4 velocity;
float4 angularVelocity;
float4 acceleration;
float4 angularAcceleration;
};
#endif