|
#define | DotProduct(a, b) ((a)[0] * (b)[0] + (a)[1] * (b)[1] + (a)[2] * (b)[2]) |
|
#define | VectorAdd(a, b, c) |
|
#define | VectorBlend(v1, v2, b, v) |
|
#define | VectorCompare(x, y) VectorCompCompare (x, ==, y) |
|
#define | VectorCompBound(a, b, c, d) |
|
#define | VectorCompCompare(x, op, y) (((x)[0] op (y)[0]) && ((x)[1] op (y)[1]) && ((x)[2] op (y)[2])) |
|
#define | VectorCompDiv(a, b, c) |
|
#define | VectorCompMax(a, b, c) |
|
#define | VectorCompMin(a, b, c) |
|
#define | VectorCompMult(a, b, c) |
|
#define | VectorCopy(a, b) |
|
#define | VectorDistance(a, b) sqrt(VectorDistance_fast(a, b)) |
|
#define | VectorDistance_fast(a, b) |
|
#define | VectorExpand(v) (v)[0], (v)[1], (v)[2] |
|
#define | VectorIsZero(a) (!(a)[0] && !(a)[1] && !(a)[2]) |
|
#define | VectorLength(a) sqrt(DotProduct(a, a)) |
|
#define | VectorMultAdd(a, s, b, c) |
|
#define | VectorMultSub(a, s, b, c) |
|
#define | VectorNegate(a, b) |
|
#define | VectorScale(a, b, c) |
|
#define | VectorSet(a, b, c, d) |
|
#define | VectorShear(a, b, c) |
| Shear vector b by vector a. More...
|
|
#define | VectorSubtract(a, b, c) |
|
#define | VectorUnshear(a, b, c) |
|
#define | VectorZero(a) ((a)[2] = (a)[1] = (a)[0] = 0); |
|