From 843cc7bd612e5b530bbe60e8726dca844b4a4d42 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 19 Sep 2013 21:33:29 +0200 Subject: [PATCH] Fixed eulerAngleY rotation orientation --- glm/gtx/euler_angles.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/euler_angles.inl b/glm/gtx/euler_angles.inl index 36704036..a6ca0ab6 100644 --- a/glm/gtx/euler_angles.inl +++ b/glm/gtx/euler_angles.inl @@ -35,9 +35,9 @@ namespace glm valType sinY = glm::sin(angleY); return detail::tmat4x4( - cosY, valType(0), sinY, valType(0), + cosY, valType(0),-sinY, valType(0), valType(0), valType(1), valType(0), valType(0), - -sinY, valType(0), cosY, valType(0), + sinY, valType(0), cosY, valType(0), valType(0), valType(0), valType(0), valType(1)); }