dlsl ~master (2017-12-21T19:48:41Z)
Dub
Repo
glOrthographic
dlsl
projection
Construct an orthographic matrix ( 4x4 and floating - point matrices only ).
nothrow @
nogc
mat4
glOrthographic
(
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 orthographic matrix ( 4x4 and floating - point matrices only ).