WireframeGeometry2.js 545 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @author WestLangley / http://github.com/WestLangley
  3. *
  4. */
  5. THREE.WireframeGeometry2 = function ( geometry ) {
  6. THREE.LineSegmentsGeometry.call( this );
  7. this.type = 'WireframeGeometry2';
  8. this.fromWireframeGeometry( new THREE.WireframeGeometry( geometry ) );
  9. // set colors, maybe
  10. };
  11. THREE.WireframeGeometry2.prototype = Object.assign( Object.create( THREE.LineSegmentsGeometry.prototype ), {
  12. constructor: THREE.WireframeGeometry2,
  13. isWireframeGeometry2: true,
  14. copy: function ( source ) {
  15. // todo
  16. return this;
  17. }
  18. } );