function CatmullRom( t, p0, p1, p2, p3 ) {

	const v0 = ( p2 - p0 ) * 0.5;
	const v1 = ( p3 - p1 ) * 0.5;
	const t2 = t * t;
	const t3 = t * t2;
	return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( -3 * p1 + 3 * p2 - 2 * v0 - v1 ) * t2 + v0 * t + p1;

}
Computes a point on a Catmull-Rom spline.

@param {number} t - The interpolation factor.
@param {number} p0 - The first control point.
@param {number} p1 - The second control point.
@param {number} p2 - The third control point.
@param {number} p3 - The fourth control point.
@return {number} The calculated point on a Catmull-Rom spline.