Removed the M_PI defines from include/osg/Math and have use a const double osg::PI etc

in its place.
This commit is contained in:
Robert Osfield
2002-01-30 15:27:45 +00:00
parent 9471714ba4
commit 4d43f83295
6 changed files with 18 additions and 32 deletions

View File

@@ -8,9 +8,6 @@
using namespace osg;
#define DEG2RAD(x) ((x)*M_PI/180.0)
#define RAD2DEG(x) ((x)*180.0/M_PI)
#define SET_ROW(row, v1, v2, v3, v4 ) \
_mat[(row)][0] = (v1); \
_mat[(row)][1] = (v2); \