_xiaofang/xiaofang/Assets/Obi/Resources/Compute/InertialFrame.cginc
杨号敬 bcc74f0465 add
2024-12-18 02:18:45 +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