diff options
Diffstat (limited to 'src/model/triangle.cc')
-rw-r--r-- | src/model/triangle.cc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/model/triangle.cc b/src/model/triangle.cc index 7c36615..807d536 100644 --- a/src/model/triangle.cc +++ b/src/model/triangle.cc @@ -9,19 +9,18 @@ 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) : - triangle_v0(v0), - triangle_v1(v1), - triangle_v2(v2), - triangle_normal(normal), - triangle_color(color) +Triangle::Triangle(math::Vector3f const &v0, math::Vector3f const &v1, math::Vector3f const &v2, + math::Vector3f const &normal, math::Color const &color, bool detail) : + triangle_v0(v0), + triangle_v1(v1), + triangle_v2(v2), + triangle_normal(normal), + triangle_color(color) { triangle_detail = detail; } Triangle::~Triangle() -{ -} +{} } |