From f758b48121b97c04bdbc66802e5773260a954b54 Mon Sep 17 00:00:00 2001 From: Groove Date: Tue, 31 Jul 2018 23:26:05 +0200 Subject: [PATCH] Fixed build --- glm/gtc/matrix_transform.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index 1eda653a..27e6d494 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -527,7 +527,7 @@ namespace glm template GLM_FUNC_QUALIFIER mat<4, 4, T, defaultp> perspectiveFovNO(T fov, T width, T height, T zNear, T zFar) { - if(GLM_CONFIG_CLIP_CONTROL & GLM_CONFIG_CLIP_CONTROL_LEFT_HANDED_BIT) + if(GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_LH_BIT) return perspectiveFovLH_NO(fov, width, height, zNear, zFar); else return perspectiveFovRH_NO(fov, width, height, zNear, zFar); @@ -536,7 +536,7 @@ namespace glm template GLM_FUNC_QUALIFIER mat<4, 4, T, defaultp> perspectiveFovLH(T fov, T width, T height, T zNear, T zFar) { - if(GLM_CONFIG_CLIP_CONTROL & GLM_CONFIG_CLIP_CONTROL_ZERO_TO_ONE_BIT) + if(GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_ZO_BIT) return perspectiveFovLH_ZO(fov, width, height, zNear, zFar); else return perspectiveFovLH_NO(fov, width, height, zNear, zFar); @@ -545,7 +545,7 @@ namespace glm template GLM_FUNC_QUALIFIER mat<4, 4, T, defaultp> perspectiveFovRH(T fov, T width, T height, T zNear, T zFar) { - if(GLM_CONFIG_CLIP_CONTROL & GLM_CONFIG_CLIP_CONTROL_ZERO_TO_ONE_BIT) + if(GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_ZO_BIT) return perspectiveFovRH_ZO(fov, width, height, zNear, zFar); else return perspectiveFovRH_NO(fov, width, height, zNear, zFar);