Calculate the extents (half-size) of a bounding box
The output Vec2 for the extents
The input Box2
The extents (distance from center to each edge)
Calculate the extents (half-size) of a bounding box