init
python
This commit is contained in:
32
PCSurvey/libs/three.js/extra/lines/WireframeGeometry2.js
Normal file
32
PCSurvey/libs/three.js/extra/lines/WireframeGeometry2.js
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* @author WestLangley / http://github.com/WestLangley
|
||||
*
|
||||
*/
|
||||
|
||||
THREE.WireframeGeometry2 = function ( geometry ) {
|
||||
|
||||
THREE.LineSegmentsGeometry.call( this );
|
||||
|
||||
this.type = 'WireframeGeometry2';
|
||||
|
||||
this.fromWireframeGeometry( new THREE.WireframeGeometry( geometry ) );
|
||||
|
||||
// set colors, maybe
|
||||
|
||||
};
|
||||
|
||||
THREE.WireframeGeometry2.prototype = Object.assign( Object.create( THREE.LineSegmentsGeometry.prototype ), {
|
||||
|
||||
constructor: THREE.WireframeGeometry2,
|
||||
|
||||
isWireframeGeometry2: true,
|
||||
|
||||
copy: function ( /* source */ ) {
|
||||
|
||||
// todo
|
||||
|
||||
return this;
|
||||
|
||||
}
|
||||
|
||||
} );
|
||||
Reference in New Issue
Block a user