LineSegments.js 361 B

123456789101112131415161718192021222324
  1. import { Line } from './Line';
  2. /**
  3. * @author mrdoob / http://mrdoob.com/
  4. */
  5. function LineSegments( geometry, material ) {
  6. Line.call( this, geometry, material );
  7. this.type = 'LineSegments';
  8. }
  9. LineSegments.prototype = Object.assign( Object.create( Line.prototype ), {
  10. constructor: LineSegments,
  11. isLineSegments: true
  12. } );
  13. export { LineSegments };