Answers for "map functino in c#"

C#
2

c# map function

float Map(float s, float a1, float a2, float b1, float b2)
{
    return b1 + (s - a1) * (b2 - b1) / (a2 - a1);
}
Posted by: Guest on May-15-2021

C# Answers by Framework

Browse Popular Code Answers by Language