For the complete documentation index, see llms.txt. This page is also available as Markdown.

math.getCenter

getCenter(bb): Vec3

The point in the middle of a bounding box.

Parameters

bb

AxisAlignedBB

The bounding box to take the center of.

Returns

Vec3

The center of the box, or null when no box was given.

Last updated