Commit 2afe1eab authored by Wayne Stambaugh's avatar Wayne Stambaugh

Fix MinGW build issue for missing isinf() in PolyLine.cpp.

parent 7e1aef22
......@@ -17,6 +17,7 @@
#include <math_for_graphics.h>
#include <polygon_test_point_inside.h>
CPolyLine::CPolyLine()
{
m_hatchStyle = NO_HATCH;
......@@ -449,7 +450,7 @@ CPolyLine* CPolyLine::Fillet( unsigned int aRadius, unsigned int aSegments )
double denom = sqrt( 2.0 / ( 1 + cosine ) - 1 );
// Do nothing in case of parallel edges
if( isinf( denom ) )
if( std::isinf( denom ) )
continue;
// Limit rounding distance to one half of an edge
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment