mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Revert div-by-0 fixes which fail arc regression tests.
This commit is contained in:
parent
9d6928043f
commit
307f3c17bc
@ -393,12 +393,6 @@ const VECTOR2D CalcArcCenter( const VECTOR2D& aStart, const VECTOR2D& aMid, cons
|
||||
if( xDelta_32 == 0.0 )
|
||||
xDelta_32 = -std::numeric_limits<double>::epsilon();
|
||||
|
||||
if( yDelta_21 == 0.0 )
|
||||
yDelta_21 = std::numeric_limits<double>::epsilon();
|
||||
|
||||
if( yDelta_32 == 0.0 )
|
||||
yDelta_32 = -std::numeric_limits<double>::epsilon();
|
||||
|
||||
double aSlope = yDelta_21 / xDelta_21;
|
||||
double bSlope = yDelta_32 / xDelta_32;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user