initOrtho

fun initOrtho(left: Float, right: Float, top: Float, bottom: Float, zNear: Float, zFar: Float): Matrix

Initializes a #graphene_matrix_t with an orthographic projection.

Return

the initialized matrix

Since

1.0

Parameters

left

the left edge of the clipping plane

right

the right edge of the clipping plane

top

the top edge of the clipping plane

bottom

the bottom edge of the clipping plane

zNear

the distance of the near clipping plane

zFar

the distance of the far clipping plane