• Stores a perspective projection for WebVR info a given matrix

    Parameters

    • fov: {
          downDegrees: number;
          leftDegrees: number;
          rightDegrees: number;
          upDegrees: number;
      }

      defines the field of view

      • downDegrees: number
      • leftDegrees: number
      • rightDegrees: number
      • upDegrees: number
    • znear: number

      defines the near clip plane

    • zfar: number

      defines the far clip plane

    • result: MutableMatrix

      defines the target matrix

    • Optional rightHanded: boolean

      defines if the matrix must be in right-handed mode (false by default)

    Returns void