mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
this.mergeVertices();
This commit is contained in:
@@ -60,7 +60,7 @@ THREE.CubeGeometry = function ( width, height, depth, segmentsWidth, segmentsHei
|
||||
this.sides.pz && buildPlane( 'x', 'y', 1 * flip, - 1, width, height, depth_half, this.materials[ 4 ] ); // pz
|
||||
this.sides.nz && buildPlane( 'x', 'y', - 1 * flip, - 1, width, height, - depth_half, this.materials[ 5 ] ); // nz
|
||||
|
||||
THREE.Geometry.prototype.mergeVertices.call(this);
|
||||
this.mergeVertices();
|
||||
|
||||
function buildPlane( u, v, udir, vdir, width, height, depth, material ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user