Fixed build

This commit is contained in:
Christophe Riccio 2013-01-04 14:26:18 +00:00
parent 889a7594d9
commit a7feb46c1a

View File

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