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.

25 lines
466 B

2 years ago
import {
WireframeGeometry
} from '../../../build/three.module.js';
import { LineSegmentsGeometry } from '../lines/LineSegmentsGeometry.js';
class WireframeGeometry2 extends LineSegmentsGeometry {
constructor( geometry ) {
super();
this.type = 'WireframeGeometry2';
this.fromWireframeGeometry( new WireframeGeometry( geometry ) );
// set colors, maybe
}
}
WireframeGeometry2.prototype.isWireframeGeometry2 = true;
export { WireframeGeometry2 };