• Creates a right-handed perspective projection matrix

    Returns

    a new matrix as a right-handed perspective projection matrix

    Parameters

    • fov: number

      defines the horizontal field of view

    • aspect: number

      defines the aspect ratio

    • znear: number

      defines the near clip plane

    • zfar: number

      defines the far clip plane

    Returns MutableMatrix