setToOrthographic

fun setToOrthographic(left: Float, right: Float, bottom: Float, top: Float, near: Float, far: Float): Mat4

Sets the matrix to an orthographic projection.

Return

this matrix

Parameters

left

The left clipping plane

right

The right clipping plane

bottom

The bottom clipping plane

top

The top clipping plane

near

The near clipping plane

far

The far clipping plane