public static Vector3f interpolateBezier(float u, Vector3f p0, Vector3f p1, Vector3f p2, Vector3f p3) {
        return interpolateBezier(u, p0, p1, p2, p3, null);
    }
Interpolate a spline between at least 4 control points following the Bezier equation.
here is the interpolation matrix
m = [ -1.0   3.0  -3.0    1.0 ]
    [  3.0  -6.0   3.0    0.0 ]
    [ -3.0   3.0   0.0    0.0 ]
    [  1.0   0.0   0.0    0.0 ]
where T is the tension of the curve
the result is a value between p1 and p3, t=0 for p1, t=1 for p3

@param u value from 0 to 1
@param p0 control point 0
@param p1 control point 1
@param p2 control point 2
@param p3 control point 3
@return Bezier interpolation
jme3-core/src/main/java/com/jme3/math/FastMath.java