From a7feb46c1a945a616c8e0e3fcff32d52e34c9af6 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 4 Jan 2013 14:26:18 +0000 Subject: [PATCH] Fixed build --- glm/gtc/matrix_transform.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index 790ecf55..90af5db6 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -237,9 +237,9 @@ namespace glm ) { #ifdef GLM_FORCE_RADIANS - valType const rad = fov; + valType const rad = fovy; #else - valType const rad = glm::radians(fov); + valType const rad = glm::radians(fovy); #endif valType range = tan(radians(rad / valType(2))) * zNear;