59 for (
int i = 0;
i < 3;
i++) {
60 const vec_t val = point[
i];
74 for (
int i = 0;
i < 3;
i++) {
92 vec3_t center, halfDiagonal;
#define VectorCopy(src, dest)
#define VectorSet(v, x, y, z)
void VectorCreateRotationMatrix(const vec3_t angles, vec3_t matrix[3])
void add(const vec3_t point)
If the point is outside the box, expand the box to accommodate it.
void rotateAround(const vec3_t origin, const vec3_t angles)
Rotates bounding box around given origin point; note that it will expand the box unless all angles ar...
#define VectorInterpolation(p1, p2, frac, mid)
#define VectorAdd(a, b, dest)
void VectorRotate(vec3_t m[3], const vec3_t va, vec3_t vb)
Rotate a vector with a rotation matrix.
#define VectorSubtract(a, b, dest)