diff options
author | dan miller | 2007-10-19 04:28:53 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 04:28:53 +0000 |
commit | 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/OPCODE/OPC_BoxPruning.h | |
parent | small bit of refactoring (diff) | |
download | opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.zip opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.gz opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.bz2 opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.xz |
adding ode source to /libraries
Diffstat (limited to '')
-rwxr-xr-x | libraries/ode-0.9\/OPCODE/OPC_BoxPruning.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/ode-0.9\/OPCODE/OPC_BoxPruning.h b/libraries/ode-0.9\/OPCODE/OPC_BoxPruning.h new file mode 100755 index 0000000..2f77cd2 --- /dev/null +++ b/libraries/ode-0.9\/OPCODE/OPC_BoxPruning.h | |||
@@ -0,0 +1,31 @@ | |||
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 code for box pruning. | ||
12 | * \file IceBoxPruning.h | ||
13 | * \author Pierre Terdiman | ||
14 | * \date January, 29, 2000 | ||
15 | */ | ||
16 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
17 | |||
18 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
19 | // Include Guard | ||
20 | #ifndef __OPC_BOXPRUNING_H__ | ||
21 | #define __OPC_BOXPRUNING_H__ | ||
22 | |||
23 | // Optimized versions | ||
24 | FUNCTION OPCODE_API bool CompleteBoxPruning(udword nb, const AABB** array, Pairs& pairs, const Axes& axes); | ||
25 | FUNCTION OPCODE_API bool BipartiteBoxPruning(udword nb0, const AABB** array0, udword nb1, const AABB** array1, Pairs& pairs, const Axes& axes); | ||
26 | |||
27 | // Brute-force versions | ||
28 | FUNCTION OPCODE_API bool BruteForceCompleteBoxTest(udword nb, const AABB** array, Pairs& pairs); | ||
29 | FUNCTION OPCODE_API bool BruteForceBipartiteBoxTest(udword nb0, const AABB** array0, udword nb1, const AABB** array1, Pairs& pairs); | ||
30 | |||
31 | #endif //__OPC_BOXPRUNING_H__ | ||