Files
apt-nl-map/static/Magic4/js/three.js-dev/examples/jsm/lines/WireframeGeometry2.js

25 lines
466 B
JavaScript
Raw Normal View History

2024-12-04 10:21:04 +08:00
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 };