mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
2767672286
gprim/geom2d.cpp includes mystdlib.h, which already has a fallback define for M_PI. As geomfuncs.cpp also includes mystdlib.h, use M_PI instead of a truncated value. occ/Partition_Loop2d.cxx already gets M_PI from the opencascade headers (~everything includes Standard_Real.hxx, which includes Standard_math.hxx, which sets _USE_MATH_DEFINES for Windows and includes math.h). |
||
---|---|---|
.. | ||
adtree.cpp | ||
adtree.hpp | ||
CMakeLists.txt | ||
geom2d.cpp | ||
geom2d.hpp | ||
geom3d.cpp | ||
geom3d.hpp | ||
geomfuncs.cpp | ||
geomfuncs.hpp | ||
geomobjects.hpp | ||
geomops2.hpp | ||
geomops.hpp | ||
geomtest3d.cpp | ||
geomtest3d.hpp | ||
gprim.hpp | ||
spline.cpp | ||
spline.hpp | ||
splinegeometry.cpp | ||
splinegeometry.hpp | ||
transform3d.cpp | ||
transform3d.hpp |