mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Added assets in perspective
This commit is contained in:
parent
74d1f84e32
commit
c1e150e6ec
@ -268,6 +268,10 @@ namespace glm
|
|||||||
valType const & zFar
|
valType const & zFar
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
assert(width > valType(0));
|
||||||
|
assert(height > valType(0));
|
||||||
|
assert(fov > valType(0));
|
||||||
|
|
||||||
#ifdef GLM_FORCE_RADIANS
|
#ifdef GLM_FORCE_RADIANS
|
||||||
valType rad = fov;
|
valType rad = fov;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user