Move include up for M_PI def on MSVC

This commit is contained in:
Thomas Krijnen
2019-05-10 14:38:42 +02:00
parent e566af84c2
commit 9cb321e73d
@@ -1,12 +1,12 @@
// For MSVC to have M_PI
#define _USE_MATH_DEFINES
#include <cmath>
#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 <cmath>
bool IfcGeom::CgalKernel::convert(const IfcSchema::IfcPolyLoop* l, cgal_wire_t& result) {
IfcSchema::IfcCartesianPoint::list::ptr points = l->Polygon();