use cmath and C++ (std::) versions of functions
This commit is contained in:
@@ -796,7 +796,7 @@ void X3DImporter::GeometryHelper_Make_Arc2D(const float pStartAngle, const float
|
||||
}
|
||||
|
||||
// calculate arc angle and check type of arc
|
||||
float angle_full = fabs(pEndAngle - pStartAngle);
|
||||
float angle_full = std::fabs(pEndAngle - pStartAngle);
|
||||
if ( ( angle_full > AI_MATH_TWO_PI_F ) || ( angle_full == 0.0f ) )
|
||||
{
|
||||
angle_full = AI_MATH_TWO_PI_F;
|
||||
|
||||
Reference in New Issue
Block a user