diff options
Diffstat (limited to 'src/model/triangle.h')
-rw-r--r-- | src/model/triangle.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/model/triangle.h b/src/model/triangle.h index 8f4a6a5..416a3e6 100644 --- a/src/model/triangle.h +++ b/src/model/triangle.h @@ -19,7 +19,7 @@ class Triangle public: /// a new triangle with 3 vertices, a normal, color and a detail flag Triangle(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, - math::Vector3f const &normal, math::Color const & color, bool detail); + math::Vector3f const &normal, bool detail); /// delete triangle ~Triangle(); @@ -29,12 +29,6 @@ public: return triangle_normal; } - /// color of the triangle - inline math::Color const & color() const - { - return triangle_color; - } - /// indidcates if this triangle was generated from a detail brush inline bool detail() const { @@ -65,7 +59,6 @@ private: math::Vector3f triangle_v2; math::Vector3f triangle_normal; - math::Color triangle_color; bool triangle_detail; }; |