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>2008-03-22 22:36:39 +0000
committerStijn Buys <ingar@osirion.org>2008-03-22 22:36:39 +0000
commit7fef8856b21215b0dd28dcc57f04c8a98ab5226f (patch)
tree76288a11fc8138466ee8f76dbf644f29fb0dfbdd /src/render/draw.h
parent8d5cd141d63d9628dbdfebdde462657d5c05f0cf (diff)
Implemented vertex arrays
Diffstat (limited to 'src/render/draw.h')
-rw-r--r--src/render/draw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/draw.h b/src/render/draw.h
index 2590be2..f9f35f3 100644
--- a/src/render/draw.h
+++ b/src/render/draw.h
@@ -15,6 +15,14 @@ namespace render
/// draw the world
void draw(math::Vector3f const &eye, math::Vector3f const &target, float seconds);
+class Stats {
+public:
+ static void clear();
+
+ static size_t tris;
+ static size_t spheres;
+};
+
}
#endif // __INCLUDED_RENDER_DRAW_H__