WireframeGeometry2.js 380 B

12345678910111213141516171819
  1. ( function () {
  2. class WireframeGeometry2 extends THREE.LineSegmentsGeometry {
  3. constructor( geometry ) {
  4. super();
  5. this.type = 'WireframeGeometry2';
  6. this.fromWireframeGeometry( new THREE.WireframeGeometry( geometry ) ); // set colors, maybe
  7. }
  8. }
  9. WireframeGeometry2.prototype.isWireframeGeometry2 = true;
  10. THREE.WireframeGeometry2 = WireframeGeometry2;
  11. } )();