From 1dce8bf200a958b54de9fdc970322c98d719f6b2 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 8 Jan 2015 22:53:21 +0100 Subject: [PATCH] Removed assert for perspective with zFar < zNear #298 --- glm/gtc/matrix_transform.inl | 1 - readme.txt | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index ac8aa4c4..25df2e3e 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -218,7 +218,6 @@ namespace glm ) { assert(abs(aspect - std::numeric_limits::epsilon()) > static_cast(0)); - assert(zFar > zNear); T const tanHalfFovy = tan(fovy / static_cast(2)); diff --git a/readme.txt b/readme.txt index 7e098164..18dce2cb 100644 --- a/readme.txt +++ b/readme.txt @@ -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