getProjectionMatrix method

  1. @override
Matrix4 getProjectionMatrix(
  1. double aspectRatio
)
override

Returns the projection matrix for a render target of the given aspectRatio (width / height).

Implementation

@override
Matrix4 getProjectionMatrix(double aspectRatio) =>
    _matrix4Perspective(fovRadiansY, aspectRatio, near, far);