Here you can find the source of interpolateLinear(final float a, final float b, final float t)
public static float interpolateLinear(final float a, final float b, final float t)
//package com.java2s; //License from project: LGPL public class Main { public static float interpolateLinear(final float a, final float b, final float t) { return a + t * (b - a); }/*from www .j a v a 2 s.co m*/ public static double interpolateLinear(final double a, final double b, final double t) { return a + t * (b - a); } }