math docs
    Preparing search index...

    Function bounds

    • Computes the axis-aligned bounding box of the triangle (a, b, c).

      Parameters

      • out: box2.Box2

        the output box to store the result.

      • a: readonly [number, number]

        the first vertex of the triangle.

      • b: readonly [number, number]

        the second vertex of the triangle.

      • c: readonly [number, number]

        the third vertex of the triangle.

      Returns box2.Box2

      out.