1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00
Oinktube/node_modules/three/examples/jsm/lines/WireframeGeometry2.js
2023-12-11 11:59:56 -03:00

26 lines
559 B
JavaScript

import {
WireframeGeometry
} from '../../../build/three.module.js';
import { LineSegmentsGeometry } from '../lines/LineSegmentsGeometry.js';
var WireframeGeometry2 = function ( geometry ) {
LineSegmentsGeometry.call( this );
this.type = 'WireframeGeometry2';
this.fromWireframeGeometry( new WireframeGeometry( geometry ) );
// set colors, maybe
};
WireframeGeometry2.prototype = Object.assign( Object.create( LineSegmentsGeometry.prototype ), {
constructor: WireframeGeometry2,
isWireframeGeometry2: true
} );
export { WireframeGeometry2 };