Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-02-20 21:52:31 +0000
committerStijn Buys <ingar@osirion.org>2010-02-20 21:52:31 +0000
commit745b4e04e5f23a02e5d9b12ebabf38d6dd034136 (patch)
tree53bf2cbe44067c5900a07d577e8533bf0b2b0796 /src/model/model.cc
parent60cbb49128dd9561858855886c765515c7e89593 (diff)
Use interleaved vertex arrays
Diffstat (limited to 'src/model/model.cc')
-rw-r--r--src/model/model.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/model/model.cc b/src/model/model.cc
index 85bf609..2ac2b50 100644
--- a/src/model/model.cc
+++ b/src/model/model.cc
@@ -161,16 +161,10 @@ void Model::list()
list_model((*mit).second);
}
-
con_print << model_registry.size() << " registered models" << std::endl;
+
if (VertexArray::instance()) {
-
- con_print << "vertex array "
- << VertexArray::instance()->index() * 3 * sizeof(float) / (1024*1024) << "/"
- << VertexArray::instance()->size() * 3 * sizeof(float) / (1024*1024) << "Mb "
- << VertexArray::instance()->index() / 3 << "/" << VertexArray::instance()->size() / 3 << " verts "
- << (VertexArray::instance()->index() * 100 / VertexArray::instance()->size()) << "% used"
- << std::endl;
+ VertexArray::instance()->info();
}
}