diff options
Diffstat (limited to 'src/model/triangle.cc')
-rw-r--r-- | src/model/triangle.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/model/triangle.cc b/src/model/triangle.cc index 807d536..162b68a 100644 --- a/src/model/triangle.cc +++ b/src/model/triangle.cc @@ -10,12 +10,11 @@ namespace model { Triangle::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) : triangle_v0(v0), triangle_v1(v1), triangle_v2(v2), - triangle_normal(normal), - triangle_color(color) + triangle_normal(normal) { triangle_detail = detail; } |