ARC_ASSIST: Fix return type in bool check
The return for special angle check is boolean.
This commit is contained in:
parent
41e4bc4d9f
commit
81483a9670
|
@ -84,7 +84,7 @@ double getNormDeciDegFromRad( double aRadians )
|
||||||
|
|
||||||
static const double ANGLE_EPSILON = 1e-9;
|
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;
|
return std::fabs( std::remainder( aRadians, M_PI_4 ) ) < ANGLE_EPSILON;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue