add Potree (version 1.8)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user