# BBOX_MAXINT
const BBOX_MAXINT = 2147483647Defines the maximum bbox maxint accepted by the m bbox subsystem.
src/m_bbox.mlMaintains fixed-point top, bottom, left, and right bounds for renderer and map geometry.
m_bbox.ml → src/m_bbox.mlm_fixed.ml → src/m_fixed.mlconst BBOX_MAXINT = 2147483647Defines the maximum bbox maxint accepted by the m bbox subsystem.
const BBOX_MININT = -2147483648Defines the minimum bbox minint accepted by the m bbox subsystem.
const BOXBOTTOM = 1Defines boxbottom for the m bbox subsystem.
const BOXLEFT = 2Defines boxleft for the m bbox subsystem.
const BOXRIGHT = 3Defines boxright for the m bbox subsystem.
const BOXTOP = 0Defines boxtop for the m bbox subsystem.
function M_AddToBox(box, x, y)Expands a four-entry bounding box in place to include one fixed-point coordinate.
| Parameter | Type | Default | Description |
|---|---|---|---|
box | dynamic | — | Bounding-box array to read or update. |
x | dynamic | — | Horizontal map- or screen-space coordinate. |
y | dynamic | — | Vertical map- or screen-space coordinate. |
function M_ClearBox(box)Resets a four-entry bounding box to inverted extremes so the next point establishes every edge.
| Parameter | Type | Default | Description |
|---|---|---|---|
box | dynamic | — | Bounding-box array to read or update. |