math docs
    Preparing search index...

    Function bounds

    • Computes the axis-aligned bounding box of a triangle defined by three vertices.

      Parameters

      • out: box3.Box3

        the output box to store the result.

      • a: readonly [number, number, number]

        the first vertex of the triangle.

      • b: readonly [number, number, number]

        the second vertex of the triangle.

      • c: readonly [number, number, number]

        the third vertex of the triangle.

      Returns box3.Box3

      the output box containing the axis-aligned bounding box of the triangle.