* Instanced objects are now considered a single object when generating rendering statistics

This commit is contained in:
shadowislord 2014-06-28 19:05:04 -04:00
parent 8738f961ea
commit ef1e69c182

View File

@ -125,7 +125,7 @@ public class Statistics {
if( !enabled )
return;
numObjects += count;
numObjects += 1;
numTriangles += mesh.getTriangleCount(lod) * count;
numVertices += mesh.getVertexCount() * count;
}