@lakuna/umath
    Preparing search index...

    Function frustum

    • Generate a frustum matrix with the given bounds.

      Type Parameters

      Parameters

      • left: number

        The left bound of the frustum.

      • right: number

        The right bound of the frustum.

      • bottom: number

        The bottom bound of the frustum.

      • top: number

        The top bound of the frustum.

      • near: number

        The near bound of the frustum.

      • far: number

        The far bound of the frustum.

      • out: T

        The matrix to store the result in.

      Returns T

      The frustum matrix.