Fixed orientate3 function #207

This commit is contained in:
Christophe Riccio 2014-06-11 22:47:37 +02:00
parent c3c180559a
commit ea45a7b966
2 changed files with 2 additions and 1 deletions

View File

@ -250,7 +250,7 @@ namespace glm
detail::tvec3<T, P> const & angles
)
{
return detail::tmat3x3<T, P>(yawPitchRoll(angles.x, angles.y, angles.z));
return detail::tmat3x3<T, P>(yawPitchRoll(angles.z, angles.x, angles.y));
}
template <typename T, precision P>

View File

@ -47,6 +47,7 @@ GLM 0.9.5.4: 2014-0X-XX
- Optimized Quaternion vector rotation #205
- Fixed missing doxygen @endcond tag #211
- Fixed instruction set detection with Clang #158
- Fixed orientate3 function #207
================================================================================
GLM 0.9.5.3: 2014-04-02