Matrix.initFrustum

Initializes a #graphene_matrix_t compatible with #graphene_frustum_t.

See also: graphene_frustum_init_from_matrix()

class Matrix
initFrustum
(
float left
,
float right
,
float bottom
,
float top
,
float zNear
,
float zFar
)

Parameters

left float

distance of the left clipping plane

right float

distance of the right clipping plane

bottom float

distance of the bottom clipping plane

top float

distance of the top clipping plane

zNear float

distance of the near clipping plane

zFar float

distance of the far clipping plane

Return Value

Type: Matrix

the initialized matrix

Meta