MSVC compile fix

* needed to add _USE_MATH_DEFINES to make M_PI known
This commit is contained in:
Andrea Weikert 2010-02-06 10:50:34 +00:00
parent b2926cf8e2
commit df2ed25558
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@
*/
#include "IK_QSegment.h"
#ifdef WIN32
#define _USE_MATH_DEFINES
#endif
#include <cmath>
// Utility functions