dlsl ~master (2017-12-21T19:48:41Z)
Dub
Repo
glPerspective
dlsl
projection
Construct an optionally non-symmetric perspective matrix
mat4
glPerspective
(
float
fovy
,
float
aspect
,
float
near
,
float
far
)
mat4
glPerspective
(
float
left
,
float
right
,
float
bottom
,
float
top
,
float
near
,
float
far
)
nothrow @
nogc
mat4
glPerspective
(
float
left
,
float
right
,
float
bottom
,
float
top
,
float
near
,
float
far
)
in { assert (right - left != 0); assert (top - bottom != 0); assert (far - near != 0); }
Meta
Source
See Implementation
dlsl
projection
functions
glInverseOrthographic
glInversePerspective
glOrthographic
glPerspective
vkPerspective
Construct an optionally non-symmetric perspective matrix