UniVRM/Assets/VRM10/Samples~/ClothSample/ClothWarp/Runtime/FrameTime.cs
2024-12-23 14:32:27 +09:00

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;
}
}
}