diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-24 12:35:48 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-24 12:35:48 +0000 |
commit | b32c086a9b9deed4c34ade6e2447861a9c4bfc46 (patch) | |
tree | f3213a8f4b1ffd15df28aa6bd82b9fe6c1bb979d /src/core/model.h | |
parent | 80ad7e99b738f367eb045768d054cf74347ee1b4 (diff) |
moved the sphere into the vertex array
Diffstat (limited to 'src/core/model.h')
-rw-r--r-- | src/core/model.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |