diff --git a/src/ifcgeom/kernels/cgal/CgalIfcGeomWires.cpp b/src/ifcgeom/kernels/cgal/CgalIfcGeomWires.cpp index 70d4fbee0a..457fc7dc63 100644 --- a/src/ifcgeom/kernels/cgal/CgalIfcGeomWires.cpp +++ b/src/ifcgeom/kernels/cgal/CgalIfcGeomWires.cpp @@ -1,12 +1,12 @@ +// For MSVC to have M_PI +#define _USE_MATH_DEFINES +#include + #include "CgalKernel.h" #include "../../../ifcgeom/schema_agnostic/cgal/CgalConversionResult.h" #define CgalKernel MAKE_TYPE_NAME(CgalKernel) -// For MSVC to have M_PI -#define _USE_MATH_DEFINES -#include - bool IfcGeom::CgalKernel::convert(const IfcSchema::IfcPolyLoop* l, cgal_wire_t& result) { IfcSchema::IfcCartesianPoint::list::ptr points = l->Polygon();