Axis-aligned bounding box types and utilities. More...
Go to the source code of this file.
Data Structures | |
| struct | AtBBox |
| 3D axis-aligned bounding box (uses single-precision) More... | |
| struct | AtBBox2 |
| 2D axis-aligned bounding box (uses integers) More... | |
Functions | |
| AtBBox | AiBBoxUnion (const AtBBox &b1, const AtBBox &b2) |
| Compute the "union" of two bboxes. More... | |
| AtBBox | AiBBoxIntersection (const AtBBox &b1, const AtBBox &b2) |
| Compute the intersection of two bboxes. | |
| AtBBox | AiBBoxLerp (float k, const AtBBox &lo, const AtBBox &hi) |
| Linear interpolation between two bboxes (k=0 -> bbox=lo, k=1 -> bbox=hi) | |
Constants | |
Axis-aligned bounding box types and utilities.