From 5c96b74c76b881b1533432a75d1a8cc42ecc5bda Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 23 Jul 2008 19:51:06 +0000 Subject: fragment renderer --- src/model/triangle.cc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/model/triangle.cc') 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() -{ -} +{} } -- cgit v1.2.3