Represents a box in 2D space.
Creates a new instance of the Box class.
The position of the box.
The size of the box.
Divides the box by a given vector.
The vector to divide the box by.
A new Box instance with the updated position and size.
Rounds down the position and size of the box to the nearest integer.
A new Box instance with the rounded position and size.
Moves the box by a given vector.
The vector to move the box by.
A new Box instance with the updated position.
Multiplies the box by a given vector.
The vector to multiply the box by.
Checks if the box overlaps with another box.
The position of the other box.
The size of the other box.
True if the boxes overlap, false otherwise.
Scales the box by a given factor.
The scaling factor.
A new Box instance with the updated size.
Represents a box in 2D space.