|
@@ -102,7 +102,7 @@ export namespace TextureMesh {
|
|
|
const transparency = createEmptyTransparency();
|
|
|
const clipping = createEmptyClipping();
|
|
|
|
|
|
- const counts = { drawCount: textureMesh.vertexCount, vertexCount: textureMesh.vertexCount / 3, groupCount, instanceCount };
|
|
|
+ const counts = { drawCount: textureMesh.vertexCount, vertexCount: textureMesh.vertexCount, groupCount, instanceCount };
|
|
|
|
|
|
const invariantBoundingSphere = Sphere3D.clone(textureMesh.boundingSphere);
|
|
|
const boundingSphere = calculateTransformBoundingSphere(invariantBoundingSphere, transform.aTransform.ref.value, instanceCount);
|