init_ortho
Description:
[ Version ( since = "1.0" ) ]
public unowned Matrix? init_ortho (float left, float right, float top, float bottom, float z_near, float z_far)
public unowned Matrix? init_ortho (float left, float right, float top, float bottom, float z_near, float z_far)
Initializes a Matrix with an orthographic projection.
Parameters:
| this |
a Matrix |
| 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 |
| z_near |
the distance of the near clipping plane |
| z_far |
the distance of the far clipping plane |
Returns:
|
the initialized matrix |