LineLoop.js 349 B

123456789101112131415161718192021222324
  1. import { Line } from './Line.js';
  2. /**
  3. * @author mgreter / http://github.com/mgreter
  4. */
  5. function LineLoop( geometry, material ) {
  6. Line.call( this, geometry, material );
  7. this.type = 'LineLoop';
  8. }
  9. LineLoop.prototype = Object.assign( Object.create( Line.prototype ), {
  10. constructor: LineLoop,
  11. isLineLoop: true,
  12. } );
  13. export { LineLoop };
粤ICP备19079148号