1 import { Curve } from '../core/Curve';
2 import { CubicBezier } from '../core/Interpolations';
3 import { Vector3 } from '../../math/Vector3';
6 function CubicBezierCurve3( v0, v1, v2, v3 ) {
17 CubicBezierCurve3.prototype = Object.create( Curve.prototype );
18 CubicBezierCurve3.prototype.constructor = CubicBezierCurve3;
20 CubicBezierCurve3.prototype.getPoint = function ( t ) {
22 var v0 = this.v0, v1 = this.v1, v2 = this.v2, v3 = this.v3;
25 CubicBezier( t, v0.x, v1.x, v2.x, v3.x ),
26 CubicBezier( t, v0.y, v1.y, v2.y, v3.y ),
27 CubicBezier( t, v0.z, v1.z, v2.z, v3.z )
33 export { CubicBezierCurve3 };