|
|
@@ -300,12 +300,11 @@ class BatchedMesh extends Mesh {
|
|
|
|
|
|
}
|
|
|
|
|
|
- const geometryCount = this._geometryCount;
|
|
|
const boundingBox = this.boundingBox;
|
|
|
const drawInfo = this._drawInfo;
|
|
|
|
|
|
boundingBox.makeEmpty();
|
|
|
- for ( let i = 0; i < geometryCount; i ++ ) {
|
|
|
+ for ( let i = 0, l = drawInfo.length; i < l; i ++ ) {
|
|
|
|
|
|
if ( drawInfo[ i ].active === false ) continue;
|
|
|
|