UniVRM/Assets/VRM10_Samples/ClothSample/ClothWarp/Runtime/FrameTime.cs
2024-11-26 15:38:47 +09:00

13 lines
282 B
C#

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