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

experimental
shadowislord 11 years ago
parent 8738f961ea
commit ef1e69c182
  1. 2
      jme3-core/src/main/java/com/jme3/renderer/Statistics.java

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

Loading…
Cancel
Save