csharp lerp
Code Example - csharp lerp
float Lerp(float min, float max, float x)
{
return min - (min - max) * x;
}
how to lerp in csharp
float Lerp(float a, float b, float t)
{
return a + (b - a) * t;
}