UniVRM/Assets/VRM10_Samples/ClothSample/RotateParticle/Runtime/FrameTime.cs
2024-11-19 20:03:22 +09:00

13 lines
284 B
C#

namespace RotateParticle
{
public struct FrameTime
{
public readonly float DeltaTime;
public readonly float SqDt;
public FrameTime(float deltaTime)
{
DeltaTime = deltaTime;
SqDt = deltaTime * deltaTime;
}
}
}