Removed assert for perspective with zFar < zNear #298
This commit is contained in:
parent
740dc48ce7
commit
1dce8bf200
@ -218,7 +218,6 @@ namespace glm
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0));
|
assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0));
|
||||||
assert(zFar > zNear);
|
|
||||||
|
|
||||||
T const tanHalfFovy = tan(fovy / static_cast<T>(2));
|
T const tanHalfFovy = tan(fovy / static_cast<T>(2));
|
||||||
|
|
||||||
|
@ -69,8 +69,12 @@ Features:
|
|||||||
- Added display of GLM version with other GLM_MESSAGES
|
- Added display of GLM version with other GLM_MESSAGES
|
||||||
- Added ARM instruction set detection
|
- Added ARM instruction set detection
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
- Removed assert for perspective with zFar < zNear #298
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
- Fixed faceforward build #289
|
- Fixed faceforward build #289
|
||||||
|
- Fixed decompose function VS2010 templating issues #294
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.6.1: 2014-12-10
|
GLM 0.9.6.1: 2014-12-10
|
||||||
|
Loading…
Reference in New Issue
Block a user