Partially revert 316ddad that added warnings but no functionality

Fixes: lp:1742978
* https://bugs.launchpad.net/kicad/+bug/1742978
This commit is contained in:
Seth Hillbrand 2018-01-12 08:43:33 -08:00 committed by Maciej Suminski
parent 6b9740e681
commit e53fa2dda6
1 changed files with 11 additions and 6 deletions

View File

@ -119,12 +119,17 @@ 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);
Point* cw = t.PointCW( p );
/*
double x = cw->x;
double y = cw->y;
x = p.x;
y = p.y;
*/
return PointCW( *cw );
}
// Legalized triangle by rotating clockwise around point(0)