math docs
    Preparing search index...

    Function setFromCenterAndSize

    • Sets the box from a center point and size

      Parameters

      • out: box2.Box2

        The output Box2

      • center: readonly [number, number]

        The center point

      • size: readonly [number, number]

        The size of the box

      Returns box2.Box2

      The updated Box2