Changed sign for eulerAngleY to make it consistent with the others

master
Filippo Ramaciotti ago%!(EXTRA string=12 years)
parent 08c95429fe
commit 3eb1f70758
  1. 4
      glm/gtx/euler_angles.inl

@ -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));
}

Loading…
Cancel
Save