three
Version:
JavaScript 3D library
18 lines (10 loc) • 329 B
JavaScript
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.LineSegments = function ( geometry, material ) {
THREE.Line.call( this, geometry, material );
this.type = 'LineSegments';
};
THREE.LineSegments.prototype = Object.assign( Object.create( THREE.Line.prototype ), {
constructor: THREE.LineSegments
} );