Changed sign for eulerAngleY to make it consistent with the others

This commit is contained in:
Filippo Ramaciotti 2013-09-20 09:49:51 +02:00
parent 08c95429fe
commit 3eb1f70758

View File

@ -35,9 +35,9 @@ namespace glm
T sinY = glm::sin(angleY);
return detail::tmat4x4<T, defaultp>(
cosY, T(0), sinY, T(0),
cosY, T(0), -sinY, T(0),
T(0), T(1), T(0), T(0),
-sinY, T(0), cosY, T(0),
sinY, T(0), cosY, T(0),
T(0), T(0), T(0), T(1));
}