initPerspective

fun initPerspective(fovy: <Error class: unknown class>, aspect: <Error class: unknown class>, zNear: <Error class: unknown class>, zFar: <Error class: unknown class>): Matrix

Initializes a #graphene_matrix_t with a perspective projection.

Return

the initialized matrix

Since

1.0

Parameters

fovy

the field of view angle, in degrees

aspect

the aspect value

zNear

the near Z plane

zFar

the far Z plane