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);
}