Return the percentage in the closed interval [0, 1] of the given value between the start and end point. https://www.gamedev.net/tutorials/programming/general-and-gameplay-programming/inverse-lerp-a-super-useful-yet-often-overlooked-function-r5230/
Input start point
Input end point
Input a value between start and end
Return the percentage in the closed interval [0, 1] of the given value between the start and end point.
Return the percentage in the closed interval [0, 1] of the given value between the start and end point. https://www.gamedev.net/tutorials/programming/general-and-gameplay-programming/inverse-lerp-a-super-useful-yet-often-overlooked-function-r5230/