From 9385876f51a6343659418019498031c28d58fe66 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 27 Aug 2011 17:13:37 +0100 Subject: [PATCH] Fixed ticket 120, M_1_PI undeclare in C++0x --- glm/gtx/matrix_interpolation.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/matrix_interpolation.inl b/glm/gtx/matrix_interpolation.inl index ab4d2bb4..0c5f9b1b 100644 --- a/glm/gtx/matrix_interpolation.inl +++ b/glm/gtx/matrix_interpolation.inl @@ -28,7 +28,7 @@ namespace matrix_interpolation axis.z = (T)0.0; return; } - angle = M_1_PI; + angle = T(3.1415926535897932384626433832795); T xx = (mat[0][0] + (T)1.0) / (T)2.0; T yy = (mat[1][1] + (T)1.0) / (T)2.0; T zz = (mat[2][2] + (T)1.0) / (T)2.0;