equation = function (t, val0, val1, val2) {
                var res = (1.0 - t) * (1.0 - t) * val0 + 2.0 * t * (1.0 - t) * val1 + t * t * val2;
                return res;
            }
Returns a Curve3 object along a Quadratic Bezier curve : http://doc.babylonjs.com/tutorials/How_to_use_Curve3#quadratic-bezier-curve
@param v0 (Vector3) the origin point of the Quadratic Bezier
@param v1 (Vector3) the control point
@param v2 (Vector3) the end point of the Quadratic Bezier
@param nbPoints (integer) the wanted number of points in the curve