Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
IceAxes.h
Go to the documentation of this file.
1
8
11
// Include Guard
12
#ifndef __ICEAXES_H__
13
#define __ICEAXES_H__
14
15
enum
PointComponent
16
{
17
_X
= 0,
18
_Y
= 1,
19
_Z
= 2,
20
_W
= 3,
21
22
_FORCE_DWORD
= 0x7fffffff
23
};
24
25
enum
AxisOrder
26
{
27
AXES_XYZ
= (
_X
)|(
_Y
<<2)|(
_Z
<<4),
28
AXES_XZY
= (
_X
)|(
_Z
<<2)|(
_Y
<<4),
29
AXES_YXZ
= (
_Y
)|(
_X
<<2)|(
_Z
<<4),
30
AXES_YZX
= (
_Y
)|(
_Z
<<2)|(
_X
<<4),
31
AXES_ZXY
= (
_Z
)|(
_X
<<2)|(
_Y
<<4),
32
AXES_ZYX
= (
_Z
)|(
_Y
<<2)|(
_X
<<4),
33
34
AXES_FORCE_DWORD
= 0x7fffffff
35
};
36
37
class
ICEMATHS_API
Axes
38
{
39
public
:
40
41
inline_
Axes
(
AxisOrder
order)
42
{
43
mAxis0 = (order ) & 3;
44
mAxis1 = (order>>2) & 3;
45
mAxis2 = (order>>4) & 3;
46
}
47
inline_
~Axes
() {}
48
49
udword
mAxis0
;
50
udword
mAxis1
;
51
udword
mAxis2
;
52
};
53
54
#endif // __ICEAXES_H__
src
cmd
collide2
Ice
IceAxes.h
Generated on Fri May 29 2015 23:07:11 for Vegastrike 0.5.1 rc1 by
1.8.4