Here you can find the source of lerp(float fromValue, float toValue, float progress)
static public float lerp(float fromValue, float toValue, float progress)
//package com.java2s; //License from project: Open Source License public class Main { /** Linearly interpolates between fromValue to toValue on progress position. */ static public float lerp(float fromValue, float toValue, float progress) { return fromValue + (toValue - fromValue) * progress; }/* www. j a v a 2 s. c o m*/ }