Fixed build
This commit is contained in:
parent
889a7594d9
commit
a7feb46c1a
@ -237,9 +237,9 @@ namespace glm
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef GLM_FORCE_RADIANS
|
#ifdef GLM_FORCE_RADIANS
|
||||||
valType const rad = fov;
|
valType const rad = fovy;
|
||||||
#else
|
#else
|
||||||
valType const rad = glm::radians(fov);
|
valType const rad = glm::radians(fovy);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
valType range = tan(radians(rad / valType(2))) * zNear;
|
valType range = tan(radians(rad / valType(2))) * zNear;
|
||||||
|
Loading…
Reference in New Issue
Block a user