ortho

fun ortho(l: Float, r: Float, b: Float, t: Float, n: Float, f: Float): Mat4

Returns an orthographic projection matrix.

Return

the orthographic projection matrix

Parameters

l

left clip plane

r

right clip plane

b

bottom clip plane

t

top clip plane

n

near clip plane

f

far clip plane