UniVRM/Assets/VRM10_Samples/ClothSample/ClothWarp/Runtime/FrameTime.cs

13 lines
288 B
C#

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