Honeycomb
0.1
Component-Model Framework
|
#include "Honey/Math/Alge/Matrix/Matrix4.h"
#include "Honey/Math/Alge/Transform.h"
#include "Honey/Math/Alge/Matrix/platform/Matrix4.h"
Namespaces | |
honey | |
Global Honeycomb namespace. | |
Macros | |
#define | Section_Source |
#define | mat_pad(A) (A[W][X]=A[X][W]=A[W][Y]=A[Y][W]=A[W][Z]=A[Z][W]=0,A[W][W]=1) |
#define | mat_copy(C, gets, A, n) |
#define | mat_tpose(AT, gets, A, n) |
#define | mat_binop(C, gets, A, op, B, n) |
#define | caseMacro(i, j, k, I, J, K) |
#define | TOL 1.0e-6 |
#define | SQRTHALF (0.7071067811865475244) |
#define | sgn(n, v) ((n)?-(v):(v)) |
#define | swap(a, i, j) {a[3]=a[i]; a[i]=a[j]; a[j]=a[3];} |
#define | cycle(a, p) |
#define caseMacro | ( | i, | |
j, | |||
k, | |||
I, | |||
J, | |||
K | |||
) |
#define cycle | ( | a, | |
p | |||
) |
#define mat_binop | ( | C, | |
gets, | |||
A, | |||
op, | |||
B, | |||
n | |||
) |
Assign nxn matrix C the element-wise combination of A and B using "op"
#define mat_copy | ( | C, | |
gets, | |||
A, | |||
n | |||
) |
Copy nxn matrix A to C using "gets" for assignment
#define mat_pad | ( | A | ) | (A[W][X]=A[X][W]=A[W][Y]=A[Y][W]=A[W][Z]=A[Z][W]=0,A[W][W]=1) |
Fill out 3x3 matrix to 4x4
#define mat_tpose | ( | AT, | |
gets, | |||
A, | |||
n | |||
) |
Copy transpose of nxn matrix A to C using "gets" for assignment
#define Section_Source |
#define sgn | ( | n, | |
v | |||
) | ((n)?-(v):(v)) |
#define SQRTHALF (0.7071067811865475244) |
#define swap | ( | a, | |
i, | |||
j | |||
) | {a[3]=a[i]; a[i]=a[j]; a[j]=a[3];} |
#define TOL 1.0e-6 |