• Create a left-handed orthographic projection matrix

    Returns

    a new matrix as a left-handed orthographic projection matrix

    Parameters

    • width: number

      defines the viewport width

    • height: number

      defines the viewport height

    • znear: number

      defines the near clip plane

    • zfar: number

      defines the far clip plane

    Returns MutableMatrix