MoonTools.Curve/Curve/TimeHelper.cs

8 lines
180 B
C#

namespace MoonTools.Curve
{
public static class TimeHelper
{
public static float Normalized(float t, float minT, float maxT) => (t - minT) / (maxT - minT);
}
}