Cogl.Matrix.prototype.frustum
function frustum(left: Number(gfloat), right: Number(gfloat), bottom: Number(gfloat), top: Number(gfloat), z_near: Number(gfloat), z_far: Number(gfloat)): void { // Gjs wrapper for cogl_matrix_frustum() }
Multiplies matrix by the given frustum perspective matrix.
- left
X position of the left clipping plane where it intersects the near clipping plane
- right
X position of the right clipping plane where it intersects the near clipping plane
- bottom
Y position of the bottom clipping plane where it intersects the near clipping plane
- top
Y position of the top clipping plane where it intersects the near clipping plane
- z_near
The distance to the near clipping plane (Must be positive)
- z_far
The distance to the far clipping plane (Must be positive)