public static float InterpolateLinear( float v0, float v1, float x ) { return v0 * ( 1 - x ) + v1 * x; }