mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fixed ticket 120, M_1_PI undeclare in C++0x
This commit is contained in:
parent
9c6acd6549
commit
9385876f51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user