initFrustum

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

Initializes a #graphene_matrix_t compatible with #graphene_frustum_t.

See also: graphene_frustum_init_from_matrix()

Return

the initialized matrix

Since

1.2

Parameters

left

distance of the left clipping plane

right

distance of the right clipping plane

bottom

distance of the bottom clipping plane

top

distance of the top clipping plane

zNear

distance of the near clipping plane

zFar

distance of the far clipping plane