Class: ProjectionMatrix

SQR.ProjectionMatrix()

new ProjectionMatrix()

The 4x4 matrix is a specialized 4x4 matrix used for perspective and orthographic projection.

Source:

Methods

identity()

Resets the matrix to identity

Source:

orthographic()

Returns an orthographic projection matrix.

Source:

perspective()

Returns a perspective projection matrix.

Source:

screenPixels2d()

Returns an orthographic projection matrix that is set in screen coordinates.

Source:

transformVector()

Returns vector mautipled by this matrix

Source: