Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.5

master
Christophe Riccio ago%!(EXTRA string=12 years)
commit 5de63682f2
  1. 2
      glm/core/func_integer.inl
  2. 2
      glm/gtc/matrix_transform.inl

@ -103,7 +103,7 @@ namespace glm
if(x > y) if(x > y)
return genUType(detail::highp_int_t(x) - detail::highp_int_t(y)); return genUType(detail::highp_int_t(x) - detail::highp_int_t(y));
else else
return genUType(detail::highp_int_t(1) << detail::highp_int_t(32) + detail::highp_int_t(x) - detail::highp_int_t(y)); return genUType((detail::highp_int_t(1) << detail::highp_int_t(32)) + detail::highp_int_t(x) - detail::highp_int_t(y));
} }
template <typename T> template <typename T>

@ -242,7 +242,7 @@ namespace glm
valType const rad = glm::radians(fovy); valType const rad = glm::radians(fovy);
#endif #endif
valType range = tan(radians(rad / valType(2))) * zNear; valType range = tan(rad / valType(2)) * zNear;
valType left = -range * aspect; valType left = -range * aspect;
valType right = range * aspect; valType right = range * aspect;
valType bottom = -range; valType bottom = -range;

Loading…
Cancel
Save