[page:Curve] →
[name]
Example
var curve = new THREE.QuadraticBezierCurve3(
new THREE.Vector3( -10, 0, 0 ),
new THREE.Vector3( 20, 15, 0 ),
new THREE.Vector3( 10, 0, 0 )
);
var geometry = new THREE.Geometry();
geometry.vertices = curve.getPoints( 50 );
var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
// Create the final Object3d to add to the scene
var curveObject = new THREE.Line( geometry, material );
Constructor
[name]( [page:Vector3 v0], [page:Vector3 v1], [page:Vector3 v2] )
[page:Vector3 v0] – The starting point
[page:Vector3 v1] – The middle control point
[page:Vector3 v2] – The ending point
Properties
[property:Vector3 v0]
[property:Vector3 v1]
[property:Vector3 v2]
Methods
See [page:Curve] for inherited methods
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]