init_frustum
Description:
[ Version ( since = "1.2" ) ]
public unowned Matrix? init_frustum (float left, float right, float bottom, float top, float z_near, float z_far)
public unowned Matrix? init_frustum (float left, float right, float bottom, float top, float z_near, float z_far)
Initializes a Matrix compatible with Frustum.
See also: init_from_matrix
Parameters:
| this |
a Matrix |
| left |
distance of the left clipping plane |
| right |
distance of the right clipping plane |
| bottom |
distance of the bottom clipping plane |
| top |
distance of the top clipping plane |
| z_near |
distance of the near clipping plane |
| z_far |
distance of the far clipping plane |
Returns:
|
the initialized matrix |