B2Bound

From Box2D Wiki

Internal Information

The following text is interesting in case you want to know how Box2D behaves internally, it is not required to use the API.

b2Bound
Box2D/Collision
Visibility Private
Source reference H.png Cpp.png

A bound represents one extent of a proxy in one dimension. I.e. each proxy has 4 bounds - an upper and lower y-limit and an upper and lower x-limit. b2Broadphase keeps track of all the bounds for each axis in a sorted array, allowing quick lookup of proxies inside a given interval.


TOOLBOX
LANGUAGES