Camera.ortho

Camera.ortho(left, right, bottom, top, near, far)[source]

Construct an orthogonal projection matrix.

Parameters:
leftfloat

Location of the left clipping plane.

rightfloat

Location of the right clipping plane.

bottomfloat

Location of the bottom clipping plane.

topfloat

Location of the top clipping plane.

nearfloat

Location of the near clipping plane.

farfloat

Location of the far clipping plane.

Returns:
compas.geometry.Transformation