I would like to convert a "point" in a certain range to a point in a different range.
Range #1consists of values between 0 and 1.Range #2consists of values between -1 and 1.
Now when I wanted to convert the point 0 of range #1 to a point in range #2, I'd know that it would be -1 in range #2.
Now when I have the point 0.5 in range #1, what would be the formula to convert it a point in range #2?
I need this to recalculate a point on the screen for a game engine called Unity. It works with C#.
Thank you.