Don't truncate if not needed
This commit is contained in:
parent
bcad0761a4
commit
3cf8b718f3
|
@ -464,7 +464,7 @@ EDA_ANGLE SHAPE_ARC::GetCentralAngle() const
|
|||
|
||||
double SHAPE_ARC::GetRadius() const
|
||||
{
|
||||
return ( m_start - GetCenter() ).EuclideanNorm();
|
||||
return std::sqrt( ( m_start - GetCenter() ).SquaredEuclideanNorm() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue