mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
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