projectionMatrix method

Matrix4 projectionMatrix(
  1. double aspectRatio
)

Projection matrix for a given aspect ratio.

Implementation

Matrix4 projectionMatrix(double aspectRatio) {
  return makePerspectiveMatrix(fovY, aspectRatio, near, far);
}