Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/HTML/ThreeJS/node_modules/three/examples/jsm/lines/WireframeGeometry2.js
2022-09-04 12:45:01 +02:00

25 lines
441 B
JavaScript

import {
WireframeGeometry
} from 'three';
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 };