Merged: oleh_derevenko#1928: Fixed: Fixed issue with "findex==-1" constraints being...
[ode.git] / OPCODE / OPC_Settings.h
blob750988873afaff34beb4db60fad3dfbfbfa8a58e
1 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 /*
3 * OPCODE - Optimized Collision Detection
4 * Copyright (C) 2001 Pierre Terdiman
5 * Homepage: http://www.codercorner.com/Opcode.htm
6 */
7 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10 /**
11 * Contains compilation flags.
12 * \file OPC_Settings.h
13 * \author Pierre Terdiman
14 * \date May, 12, 2001
16 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
19 // Include Guard
20 #ifndef __OPC_SETTINGS_H__
21 #define __OPC_SETTINGS_H__
23 //! Use CPU comparisons (comment that line to use standard FPU compares)
24 //#define OPC_CPU_COMPARE
26 //! Use FCOMI / FCMOV on Pentium-Pro based processors (comment that line to use plain C++)
27 #define OPC_USE_FCOMI
29 //! Use epsilon value in tri-tri overlap test
30 #define OPC_TRITRI_EPSILON_TEST
32 //! Use tree-coherence or not [not implemented yet]
33 // #define OPC_USE_TREE_COHERENCE
35 //! Use callbacks or direct pointers. Using callbacks might be a bit slower (but probably not much)
36 // #define OPC_USE_CALLBACKS
38 //! Support triangle and vertex strides or not. Using strides might be a bit slower (but probably not much)
39 #define OPC_USE_STRIDE
41 //! Discard negative pointer in vanilla trees
42 #define OPC_NO_NEG_VANILLA_TREE
44 //! Use a callback in the ray collider
45 //#define OPC_RAYHIT_CALLBACK
47 // NB: no compilation flag to enable/disable stats since they're actually needed in the box/box overlap test
49 #endif //__OPC_SETTINGS_H__