Browse Source

ARC_ASSIST: Fix return type in bool check

The return for special angle check is boolean.
pull/13/head
Seth Hillbrand 7 years ago
parent
commit
81483a9670
  1. 2
      common/preview_items/arc_assistant.cpp

2
common/preview_items/arc_assistant.cpp

@ -84,7 +84,7 @@ double getNormDeciDegFromRad( double aRadians )
static const double ANGLE_EPSILON = 1e-9;
double angleIsSpecial( double aRadians )
bool angleIsSpecial( double aRadians )
{
return std::fabs( std::remainder( aRadians, M_PI_4 ) ) < ANGLE_EPSILON;
}

Loading…
Cancel
Save