Removed assert for perspective with zFar < zNear #298

This commit is contained in:
Christophe Riccio 2015-01-08 22:53:21 +01:00
parent 740dc48ce7
commit 1dce8bf200
2 changed files with 4 additions and 1 deletions

View File

@ -218,7 +218,6 @@ namespace glm
)
{
assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0));
assert(zFar > zNear);
T const tanHalfFovy = tan(fovy / static_cast<T>(2));

View File

@ -69,8 +69,12 @@ Features:
- Added display of GLM version with other GLM_MESSAGES
- Added ARM instruction set detection
Improvements:
- Removed assert for perspective with zFar < zNear #298
Fixes:
- Fixed faceforward build #289
- Fixed decompose function VS2010 templating issues #294
================================================================================
GLM 0.9.6.1: 2014-12-10