Returns a projection matrix for the given orientation and viewport size, with optional near/far clipping.
Pass the same orientation and viewport size used for the view matrix so that 3D content projects correctly.
zFar > 0 uses a finite far plane; zFar <= 0 yields an infinite far plane (e.g. for skyboxes).
Returns a projection matrix for the given orientation and viewport size, with optional near/far clipping.
Pass the same orientation and viewport size used for the view matrix so that 3D content projects correctly.
zFar > 0 uses a finite far plane; zFar <= 0 yields an infinite far plane (e.g. for skyboxes).