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