math.ortho

From Wake
Jump to: navigation, search

Create an orthographic projection matrix.

Function

Synopsis

result = math.ortho(left, right, bottom, top)
result = math.ortho(left, right, bottom, top, near, far)

Arguments

number left


number right


number bottom


number top


number near


number far

Returns

Matrix4x4 result

The orthographic projection matrix.

See Also