three 基础库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
380 B

2 years ago
( function () {
class WireframeGeometry2 extends THREE.LineSegmentsGeometry {
constructor( geometry ) {
super();
this.type = 'WireframeGeometry2';
this.fromWireframeGeometry( new THREE.WireframeGeometry( geometry ) ); // set colors, maybe
}
}
WireframeGeometry2.prototype.isWireframeGeometry2 = true;
THREE.WireframeGeometry2 = WireframeGeometry2;
} )();