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_Settings.h | |
parent | adding ode source to /libraries (diff) | |
download | opensim-SC-79eca25c945a535a7a0325999034bae17da92412.zip opensim-SC-79eca25c945a535a7a0325999034bae17da92412.tar.gz opensim-SC-79eca25c945a535a7a0325999034bae17da92412.tar.bz2 opensim-SC-79eca25c945a535a7a0325999034bae17da92412.tar.xz |
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/OPCODE/OPC_Settings.h')
-rw-r--r-- | libraries/ode-0.9/OPCODE/OPC_Settings.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/libraries/ode-0.9/OPCODE/OPC_Settings.h b/libraries/ode-0.9/OPCODE/OPC_Settings.h new file mode 100644 index 0000000..1841a2b --- /dev/null +++ b/libraries/ode-0.9/OPCODE/OPC_Settings.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
2 | /* | ||
3 | * OPCODE - Optimized Collision Detection | ||
4 | * Copyright (C) 2001 Pierre Terdiman | ||
5 | * Homepage: http://www.codercorner.com/Opcode.htm | ||
6 | */ | ||
7 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
8 | |||
9 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
10 | /** | ||
11 | * Contains compilation flags. | ||
12 | * \file OPC_Settings.h | ||
13 | * \author Pierre Terdiman | ||
14 | * \date May, 12, 2001 | ||
15 | */ | ||
16 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
17 | |||
18 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
19 | // Include Guard | ||
20 | #ifndef __OPC_SETTINGS_H__ | ||
21 | #define __OPC_SETTINGS_H__ | ||
22 | |||
23 | //! Use CPU comparisons (comment that line to use standard FPU compares) | ||
24 | #define OPC_CPU_COMPARE | ||
25 | |||
26 | //! Use FCOMI / FCMOV on Pentium-Pro based processors (comment that line to use plain C++) | ||
27 | #define OPC_USE_FCOMI | ||
28 | |||
29 | //! Use epsilon value in tri-tri overlap test | ||
30 | #define OPC_TRITRI_EPSILON_TEST | ||
31 | |||
32 | //! Use tree-coherence or not [not implemented yet] | ||
33 | // #define OPC_USE_TREE_COHERENCE | ||
34 | |||
35 | //! Use callbacks or direct pointers. Using callbacks might be a bit slower (but probably not much) | ||
36 | // #define OPC_USE_CALLBACKS | ||
37 | |||
38 | //! Support triangle and vertex strides or not. Using strides might be a bit slower (but probably not much) | ||
39 | #define OPC_USE_STRIDE | ||
40 | |||
41 | //! Discard negative pointer in vanilla trees | ||
42 | #define OPC_NO_NEG_VANILLA_TREE | ||
43 | |||
44 | //! Use a callback in the ray collider | ||
45 | //#define OPC_RAYHIT_CALLBACK | ||
46 | |||
47 | // NB: no compilation flag to enable/disable stats since they're actually needed in the box/box overlap test | ||
48 | |||
49 | #endif //__OPC_SETTINGS_H__ | ||