Partially revert 316ddad
that added warnings but no functionality
Fixes: lp:1742978 * https://bugs.launchpad.net/kicad/+bug/1742978
This commit is contained in:
parent
6b9740e681
commit
e53fa2dda6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue