From b32c086a9b9deed4c34ade6e2447861a9c4bfc46 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 24 Mar 2008 12:35:48 +0000 Subject: moved the sphere into the vertex array --- src/core/model.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/model.h') diff --git a/src/core/model.h b/src/core/model.h index 51e9ca7..4fc4d97 100644 --- a/src/core/model.h +++ b/src/core/model.h @@ -25,6 +25,7 @@ namespace core /// size of the global vertex array - 32M const size_t VERTEXARRAYSIZE=65536*512; +const int SPHERESEGMENTS=33; /// global vertex array class VertexArray @@ -40,6 +41,9 @@ public: static void clear(); static void add_vertex(math::Vector3f const &v, math::Vector3f const &n, math::Color const &color); + +private: + static void add_sphere(); }; /// a model triangle -- cgit v1.2.3