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>2009-07-16 18:34:54 +0000
committerStijn Buys <ingar@osirion.org>2009-07-16 18:34:54 +0000
commit70b4d79d501be4802a06770f02b8f49e2c14e8a7 (patch)
treeb868e13489f8ef4377c7ac6c7d900ee854270b03 /src/model/triangle.h
parent1b8ceba3a173ff59939042713cd07a65e83193f1 (diff)
Removes unused collor array support, disable bullet in sys/sys.h
Diffstat (limited to 'src/model/triangle.h')
-rw-r--r--src/model/triangle.h9
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;
};