Here you can find the source of lerp(float a, float b, float interpolation)
public static float lerp(float a, float b, float interpolation)
//package com.java2s; //License from project: Open Source License public class Main { public static float lerp(float a, float b, float interpolation) { return a + interpolation * (b - a); }//ww w .ja v a 2 s. c o m }