Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-22 23:22:38 +0000
committerStijn Buys <ingar@osirion.org>2008-03-22 23:22:38 +0000
commit8485d43feca5597c4b412c6912aadcd9586e3cde (patch)
tree76727ff76ee64ca9976b590578c4e6a641c5208f /src/core
parent7fef8856b21215b0dd28dcc57f04c8a98ab5226f (diff)
display vertex array usage
fixed sphere orientation
Diffstat (limited to 'src/core')
-rw-r--r--src/core/model.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/model.cc b/src/core/model.cc
index df6e563..686cbfd 100644
--- a/src/core/model.cc
+++ b/src/core/model.cc
@@ -628,5 +628,7 @@ void Model::list()
<< (*mit).second->model_light.size() << " lights\n";
}
con_print << registry.size() << " registered models" << std::endl;
+ con_print << "vertex/evertex array usage " << (VertexArray::vertex_index * 100) / VERTEXARRAYSIZE << "%/" <<
+ (VertexArray::evertex_index * 100) / VERTEXARRAYSIZE << "%\n";
}
}