Matrix.initOrtho
graphene.matrix.Matrix initOrtho(float left, float right, float top, float bottom, float zNear, float zFar)Initializes a #graphene_matrix_t with an orthographic projection.
Parameters
left | the left edge of the clipping plane |
right | the right edge of the clipping plane |
top | the top edge of the clipping plane |
bottom | the bottom edge of the clipping plane |
zNear | the distance of the near clipping plane |
zFar | the distance of the far clipping plane |
Returns
the initialized matrix