Matrix.initFrustum

graphene.matrix.Matrix initFrustum(float left, float right, float bottom, float top, float zNear, float zFar)

Initializes a #graphene_matrix_t compatible with #graphene_frustum_t.

See also: [graphene.frustum.Frustum.initFromMatrix]

Parameters

leftdistance of the left clipping plane
rightdistance of the right clipping plane
bottomdistance of the bottom clipping plane
topdistance of the top clipping plane
zNeardistance of the near clipping plane
zFardistance of the far clipping plane

Returns

the initialized matrix