lerp in java code example
Example: java lerp
float lerp(float point1, float point2, float alpha){ return point1 + alpha * (point2 - point1);}
float lerp(float point1, float point2, float alpha){ return point1 + alpha * (point2 - point1);}