Cogl.Matrix.prototype.ortho
function ortho(left: Number(gfloat), right: Number(gfloat), bottom: Number(gfloat), top: Number(gfloat), near: Number(gfloat), far: Number(gfloat)): void { // Gjs wrapper for cogl_matrix_ortho() }
Multiplies matrix by a parallel projection matrix.
- left
The coordinate for the left clipping plane
- right
The coordinate for the right clipping plane
- bottom
The coordinate for the bottom clipping plane
- top
The coordinate for the top clipping plane
- near
The <emphasis>distance</emphasis> to the near clipping plane (will be <emphasis>negative</emphasis> if the plane is behind the viewer)
- far
The <emphasis>distance</emphasis> to the far clipping plane (will be <emphasis>negative</emphasis> if the plane is behind the viewer)