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));