math docs
    Preparing search index...

    Function scale

    • Scale a bounding box by a vector, handling non-uniform and negative scaling

      Parameters

      • out: box3.Box3

        The output Box3

      • box: readonly [number, number, number, number, number, number]

        The input Box3

      • scale: readonly [number, number, number]

        The scale to apply (as a Vec3)

      Returns box3.Box3

      The scaled Box3