From 9777a41972c3050922f84025c6753b484c9d8cc5 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Wed, 24 Feb 2016 15:00:25 +0100 Subject: [PATCH] BoxGeometry: Merge redundant vertices --- src/extras/geometries/BoxGeometry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extras/geometries/BoxGeometry.js b/src/extras/geometries/BoxGeometry.js index 0442c098d9..2f667c52f7 100644 --- a/src/extras/geometries/BoxGeometry.js +++ b/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 ); -- GitLab