mirror of
https://github.com/g-truc/glm.git
synced 2025-04-14 17:13:41 +00:00
Added assets in perspective
This commit is contained in:
parent
74d1f84e32
commit
c1e150e6ec
1 changed files with 4 additions and 0 deletions
|
@ -268,6 +268,10 @@ namespace glm
|
|||
valType const & zFar
|
||||
)
|
||||
{
|
||||
assert(width > valType(0));
|
||||
assert(height > valType(0));
|
||||
assert(fov > valType(0));
|
||||
|
||||
#ifdef GLM_FORCE_RADIANS
|
||||
valType rad = fov;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue