setAsPerspective method

void setAsPerspective(
  1. double fovy,
  2. double aspectRatio,
  3. double zNear,
  4. double zFar,
)

Set the matrix to use a projection view.

Implementation

void setAsPerspective(
  double fovy,
  double aspectRatio,
  double zNear,
  double zFar,
) {
  final fovYRadians = fovy * degrees2Radians;
  setPerspectiveMatrix(this, fovYRadians, aspectRatio, zNear, zFar);
}