LineLoop.js 293 B

1234567891011121314151617181920
  1. import { Line } from './Line.js';
  2. function LineLoop( geometry, material ) {
  3. Line.call( this, geometry, material );
  4. this.type = 'LineLoop';
  5. }
  6. LineLoop.prototype = Object.assign( Object.create( Line.prototype ), {
  7. constructor: LineLoop,
  8. isLineLoop: true,
  9. } );
  10. export { LineLoop };
粤ICP备19079148号