CSEngine
Loading...
Searching...
No Matches
MatrixDef.h
1#pragma once
2
3#define MAT2_XX x.x
4#define MAT2_XY x.y
5#define MAT2_YX y.x
6#define MAT2_YY y.y
7
8#define MAT3_XX x.x
9#define MAT3_XY x.y
10#define MAT3_XZ x.z
11#define MAT3_YX y.x
12#define MAT3_YY y.y
13#define MAT3_YZ y.z
14#define MAT3_ZX z.x
15#define MAT3_ZY z.y
16#define MAT3_ZZ z.z
17
18#define MAT4_XX x.x
19#define MAT4_XY x.y
20#define MAT4_XZ x.z
21#define MAT4_XW x.w
22#define MAT4_YX y.x
23#define MAT4_YY y.y
24#define MAT4_YZ y.z
25#define MAT4_YW y.w
26#define MAT4_ZX z.x
27#define MAT4_ZY z.y
28#define MAT4_ZZ z.z
29#define MAT4_ZW z.w
30#define MAT4_WX w.x
31#define MAT4_WY w.y
32#define MAT4_WZ w.z
33#define MAT4_WW w.w