bugfix : fix compiler warning.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
pull/79/head
Kim Kulling 2013-08-15 20:51:34 +02:00
parent 1c7cad00ce
commit d62c929b7a
1 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,8 @@ int Triangle::Index(const Point* p)
return 2; return 2;
} }
assert(0); assert(0);
return 0;
} }
int Triangle::EdgeIndex(const Point* p1, const Point* p2) int Triangle::EdgeIndex(const Point* p1, const Point* p2)
@ -223,6 +225,8 @@ Point* Triangle::PointCW(Point& point)
return points_[1]; return points_[1];
} }
assert(0); assert(0);
return 0;
} }
// The point counter-clockwise to given point // The point counter-clockwise to given point
@ -236,6 +240,8 @@ Point* Triangle::PointCCW(Point& point)
return points_[0]; return points_[0];
} }
assert(0); assert(0);
return 0;
} }
// The neighbor clockwise to given point // The neighbor clockwise to given point