Loading common/geometry/shape_collisions.cpp +45 −47 Original line number Diff line number Diff line Loading @@ -220,9 +220,7 @@ bool CollideShapes( const SHAPE* aA, const SHAPE* aB, int aClearance, break; } bool unsupported_collision = true; assert( unsupported_collision == false ); assert( 0 ); // unsupported_collision return false; } Loading polygon/poly2tri/common/shapes.cc +7 −0 Original line number Diff line number Diff line Loading @@ -133,11 +133,15 @@ void Triangle::ClearDelunayEdges() Point* Triangle::OppositePoint( Triangle& t, Point& p ) { Point* cw = t.PointCW( p ); /* double x = cw->x; double y = cw->y; x = p.x; y = p.y; */ return PointCW( *cw ); } Loading Loading @@ -195,6 +199,7 @@ int Triangle::Index( const Point* p ) } assert( 0 ); return 0; // you better hope its a Debug build. } Loading Loading @@ -285,6 +290,7 @@ Point* Triangle::PointCW( Point& point ) } assert( 0 ); return NULL; // you better hope its a Debug build. } Loading @@ -305,6 +311,7 @@ Point* Triangle::PointCCW( Point& point ) } assert( 0 ); return NULL; // you better hope its a Debug build. } Loading Loading
common/geometry/shape_collisions.cpp +45 −47 Original line number Diff line number Diff line Loading @@ -220,9 +220,7 @@ bool CollideShapes( const SHAPE* aA, const SHAPE* aB, int aClearance, break; } bool unsupported_collision = true; assert( unsupported_collision == false ); assert( 0 ); // unsupported_collision return false; } Loading
polygon/poly2tri/common/shapes.cc +7 −0 Original line number Diff line number Diff line Loading @@ -133,11 +133,15 @@ void Triangle::ClearDelunayEdges() Point* Triangle::OppositePoint( Triangle& t, Point& p ) { Point* cw = t.PointCW( p ); /* double x = cw->x; double y = cw->y; x = p.x; y = p.y; */ return PointCW( *cw ); } Loading Loading @@ -195,6 +199,7 @@ int Triangle::Index( const Point* p ) } assert( 0 ); return 0; // you better hope its a Debug build. } Loading Loading @@ -285,6 +290,7 @@ Point* Triangle::PointCW( Point& point ) } assert( 0 ); return NULL; // you better hope its a Debug build. } Loading @@ -305,6 +311,7 @@ Point* Triangle::PointCCW( Point& point ) } assert( 0 ); return NULL; // you better hope its a Debug build. } Loading