#include <clu.h>
Data Fields | |
CLvertex | min |
CLvertex | max |
CLUalignedbox
struct defines a axis aligned box. Can be mainly used to enclose an object or as a collision detection bounding box. The vertex min stores the min_x, min_y, and min_z of the box. The vertex max is used to store the max_x, max_y, and max_z of the box. These are essentially the dimensions of the box.
CLvertex min; CLvertex max; CLUalignedbox box;
cluSetVertex(&min, -10.0f, -5.0f, 4.0f); cluSetNormal(&max, 10.0f, 5.0f, 8.0f);
cluSetAlignedBox(&box, &min, &max);
Definition at line 354 of file clu.h.