diff options
author | dan miller | 2007-10-19 05:15:33 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:15:33 +0000 |
commit | 79eca25c945a535a7a0325999034bae17da92412 (patch) | |
tree | 40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/OPCODE/OPC_IceHook.h | |
parent | adding ode source to /libraries (diff) | |
download | opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.zip opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.gz opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.bz2 opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.xz |
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/OPCODE/OPC_IceHook.h')
-rw-r--r-- | libraries/ode-0.9/OPCODE/OPC_IceHook.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/libraries/ode-0.9/OPCODE/OPC_IceHook.h b/libraries/ode-0.9/OPCODE/OPC_IceHook.h new file mode 100644 index 0000000..62343b8 --- /dev/null +++ b/libraries/ode-0.9/OPCODE/OPC_IceHook.h | |||
@@ -0,0 +1,70 @@ | |||
1 | |||
2 | // Should be included by Opcode.h if needed | ||
3 | |||
4 | #define ICE_DONT_CHECK_COMPILER_OPTIONS | ||
5 | |||
6 | // From Windows... | ||
7 | typedef int BOOL; | ||
8 | #ifndef FALSE | ||
9 | #define FALSE 0 | ||
10 | #endif | ||
11 | |||
12 | #ifndef TRUE | ||
13 | #define TRUE 1 | ||
14 | #endif | ||
15 | |||
16 | #include <stdio.h> | ||
17 | #include <stdlib.h> | ||
18 | #include <assert.h> | ||
19 | #include <string.h> | ||
20 | #include <float.h> | ||
21 | #include <math.h> | ||
22 | |||
23 | #ifndef ASSERT | ||
24 | #define ASSERT(exp) {} | ||
25 | #endif | ||
26 | #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ] | ||
27 | |||
28 | #define Log {} | ||
29 | #define SetIceError(a,b) false | ||
30 | #define EC_OUTOFMEMORY "Out of memory" | ||
31 | |||
32 | #include "Ice/IcePreprocessor.h" | ||
33 | |||
34 | #undef ICECORE_API | ||
35 | #define ICECORE_API OPCODE_API | ||
36 | |||
37 | #include "Ice/IceTypes.h" | ||
38 | #include "Ice/IceFPU.h" | ||
39 | #include "Ice/IceMemoryMacros.h" | ||
40 | |||
41 | namespace IceCore | ||
42 | { | ||
43 | #include "Ice/IceUtils.h" | ||
44 | #include "Ice/IceContainer.h" | ||
45 | #include "Ice/IcePairs.h" | ||
46 | #include "Ice/IceRevisitedRadix.h" | ||
47 | #include "Ice/IceRandom.h" | ||
48 | } | ||
49 | using namespace IceCore; | ||
50 | |||
51 | #define ICEMATHS_API OPCODE_API | ||
52 | namespace IceMaths | ||
53 | { | ||
54 | #include "Ice/IceAxes.h" | ||
55 | #include "Ice/IcePoint.h" | ||
56 | #include "Ice/IceHPoint.h" | ||
57 | #include "Ice/IceMatrix3x3.h" | ||
58 | #include "Ice/IceMatrix4x4.h" | ||
59 | #include "Ice/IcePlane.h" | ||
60 | #include "Ice/IceRay.h" | ||
61 | #include "Ice/IceIndexedTriangle.h" | ||
62 | #include "Ice/IceTriangle.h" | ||
63 | #include "Ice/IceTriList.h" | ||
64 | #include "Ice/IceAABB.h" | ||
65 | #include "Ice/IceOBB.h" | ||
66 | #include "Ice/IceBoundingSphere.h" | ||
67 | #include "Ice/IceSegment.h" | ||
68 | #include "Ice/IceLSS.h" | ||
69 | } | ||
70 | using namespace IceMaths; | ||