mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +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). |
||
---|---|---|
.. | ||
core | ||
csg | ||
general | ||
geom2d | ||
gprim | ||
include | ||
interface | ||
linalg | ||
meshing | ||
occ | ||
stlgeom | ||
visualization | ||
CMakeLists.txt |