From 3eb1f707584f83fc59e390363f167c5470064f06 Mon Sep 17 00:00:00 2001 From: Filippo Ramaciotti Date: Fri, 20 Sep 2013 09:49:51 +0200 Subject: [PATCH] Changed sign for eulerAngleY to make it consistent with the others --- 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 144072e9..3bff5d35 100644 --- a/glm/gtx/euler_angles.inl +++ b/glm/gtx/euler_angles.inl @@ -35,9 +35,9 @@ namespace glm T sinY = glm::sin(angleY); return detail::tmat4x4( - 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)); }