_xiaofang/xiaofang/Assets/Obi/Resources/Compute/InertialFrame.cginc

18 lines
279 B
HLSL
Raw Normal View History

2024-12-18 02:18:45 +08:00
#ifndef INERTIALFRAME_INCLUDE
#define INERTIALFRAME_INCLUDE
#include "Transform.cginc"
struct inertialFrame
{
transform frame;
transform prevFrame;
float4 velocity;
float4 angularVelocity;
float4 acceleration;
float4 angularAcceleration;
};
#endif