lerp function code example
Example: lerp function
//lerp takes 3 parameters
//1st parameter is the start point
//2nd is the end point
//3rd is the percentage of how much distance can be covered like .5 = 50%
//example - lerp(0,10,.5) = 5
//example2 - lerp(0,5,.2) = 1