Matrix.initPerspective
graphene.matrix.Matrix initPerspective(float fovy, float aspect, float zNear, float zFar)Initializes a #graphene_matrix_t with a perspective projection.
Parameters
fovy | the field of view angle, in degrees |
aspect | the aspect value |
zNear | the near Z plane |
zFar | the far Z plane |
Returns
the initialized matrix