/** * @author mr.doob / http://mrdoob.com/ */ THREE.Line = function ( geometry, materials, type ) { THREE.Object3D.call( this ); this.geometry = geometry; this.materials = materials instanceof Array ? materials : [ materials ]; this.type = ( type != undefined ) ? type : THREE.LineStrip; }; THREE.LineStrip = 0; THREE.LinePieces = 1; THREE.Line.prototype = new THREE.Object3D(); THREE.Line.prototype.constructor = THREE.Line;