2
0
Эх сурвалжийг харах

BoxGeometry: Merge redundant vertices

Mugen87 9 жил өмнө
parent
commit
9777a41972

+ 1 - 0
src/extras/geometries/BoxGeometry.js

@@ -20,6 +20,7 @@ THREE.BoxGeometry = function ( width, height, depth, widthSegments, heightSegmen
 
 	this.fromBufferGeometry( new THREE.BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) );
 
+	this.mergeVertices();
 };
 
 THREE.BoxGeometry.prototype = Object.create( THREE.Geometry.prototype );