diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-12 12:03:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-12 12:03:18 +0000 |
commit | 183f0f0b905715f0d89b38174fdfd44641c1a79c (patch) | |
tree | 6cae553ac6284044002fb668c7991da27291825d /src/model/primitives.h | |
parent | 8bf8afe68ca15c61b0dea1f5c1ef5fc7186dca0f (diff) |
src/model filenames cleanup, parse .map texture coordinates, early loading of material textures
Diffstat (limited to 'src/model/primitives.h')
-rw-r--r-- | src/model/primitives.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/primitives.h b/src/model/primitives.h index d113961..116d01b 100644 --- a/src/model/primitives.h +++ b/src/model/primitives.h @@ -49,11 +49,11 @@ public: } /// add a Triangle primitive - void add_triangle(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, + Triangle *add_triangle(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, math::Vector3f const &normal, bool detail); /// add a Quad primitive - void add_quad(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, math::Vector3f const &v3, + Quad *add_quad(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, math::Vector3f const &v3, math::Vector3f const &normal, bool detail); private: Triangles primitives_triangles; |