zhongrj
2025-11-25 b89962006164a462404b79a738bee8cbb6d7fe7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
 
    }
 
} );