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