Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var geo = new THREE.BoxBufferGeometry(15, 15, 15);
- var geometry = new THREE.WireframeGeometry2( geo );
- matLine = new THREE.LineMaterial( {
- color: 0x4080ff,
- linewidth: 4,
- dashed: false
- });
- wireframe = new THREE.Wireframe( geometry, matLine );
- wireframe.computeLineDistances();
- wireframe.scale.set( 1, 1, 1 );
- scene.add( wireframe );
Add Comment
Please, Sign In to add comment