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>