Fixed merge

master
Christophe Riccio ago%!(EXTRA string=12 years)
commit 056e053b3f
  1. 1
      glm/core/func_exponential.inl
  2. 1
      readme.txt

@ -146,6 +146,7 @@ namespace _detail
) )
{ {
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'inversesqrt' only accept floating-point input"); GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'inversesqrt' only accept floating-point input");
assert(x > genType(0));
return genType(1) / ::std::sqrt(x); return genType(1) / ::std::sqrt(x);
} }

@ -54,6 +54,7 @@ GLM 0.9.5.0: 2013-XX-XX
- Fixed slerp when costheta is close to 1 - Fixed slerp when costheta is close to 1
- Fixed mat4x2 value_type constructor - Fixed mat4x2 value_type constructor
- Fixed glm.natvis for Visual C++ 12 #82 - Fixed glm.natvis for Visual C++ 12 #82
- Added assert in inversesqrt to detect division by zero. #61
================================================================================ ================================================================================
GLM 0.9.4.3: 2013-03-20 GLM 0.9.4.3: 2013-03-20

Loading…
Cancel
Save