[216] | 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__ |
---|