aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/OPCODE/Ice/IceAxes.h
diff options
context:
space:
mode:
authordan miller2007-10-21 08:36:32 +0000
committerdan miller2007-10-21 08:36:32 +0000
commit2f8d7092bc2c9609fa98d6888106b96f38b22828 (patch)
treeda6c37579258cc965b52a75aee6135fe44237698 /libraries/ode-0.9/OPCODE/Ice/IceAxes.h
parent* Committing new PolicyManager based on an ACL system. (diff)
downloadopensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.zip
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.gz
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.bz2
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.xz
libraries moved to opensim-libs, a new repository
Diffstat (limited to 'libraries/ode-0.9/OPCODE/Ice/IceAxes.h')
-rw-r--r--libraries/ode-0.9/OPCODE/Ice/IceAxes.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/libraries/ode-0.9/OPCODE/Ice/IceAxes.h b/libraries/ode-0.9/OPCODE/Ice/IceAxes.h
deleted file mode 100644
index 8af57e1..0000000
--- a/libraries/ode-0.9/OPCODE/Ice/IceAxes.h
+++ /dev/null
@@ -1,54 +0,0 @@
1///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2/**
3 * Contains axes definition.
4 * \file IceAxes.h
5 * \author Pierre Terdiman
6 * \date January, 29, 2000
7 */
8///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9
10///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
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__