G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.
More...
|
#define | CROSS(dest, v1, v2) |
|
#define | DOT(v1, v2) (v1[0]*v2[0]+v1[1]*v2[1]+v1[2]*v2[2]) |
|
#define | EPSILON 0.000001 |
|
#define | SUB(dest, v1, v2) |
|
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.
◆ CROSS
#define CROSS |
( |
|
dest, |
|
|
|
v1, |
|
|
|
v2 |
|
) |
| |
◆ DOT
#define DOT |
( |
|
v1, |
|
|
|
v2 |
|
) |
| (v1[0]*v2[0]+v1[1]*v2[1]+v1[2]*v2[2]) |
◆ EPSILON
◆ SUB
#define SUB |
( |
|
dest, |
|
|
|
v1, |
|
|
|
v2 |
|
) |
| |