Fixed eulerAngleY rotation orientation

master
Christophe Riccio ago%!(EXTRA string=12 years)
parent df152fa9db
commit 843cc7bd61
  1. 4
      glm/gtx/euler_angles.inl

@ -35,9 +35,9 @@ namespace glm
valType sinY = glm::sin(angleY);
return detail::tmat4x4<valType>(
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));
}

Loading…
Cancel
Save