Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OPC_Settings.h
Go to the documentation of this file.
1 /*
3  * OPCODE - Optimized Collision Detection
4  * Copyright (C) 2001 Pierre Terdiman
5  * Homepage: http://www.codercorner.com/Opcode.htm
6  */
8 
10 
16 
19 // Include Guard
20 #ifndef __OPC_SETTINGS_H__
21 #define __OPC_SETTINGS_H__
22 
24 #if defined(CS_PROCESSOR_X86)
25  // Defining this causes aliasing bugs. It is not legal C++ to do so.
26  // i.e. the AIR() and IR() defines are very buggy and actually cause wrong
27  // code in optimize.
28  //#define OPC_CPU_COMPARE
29 #endif
30 
32 // #define OPC_USE_FCOMI
33 
35  #define OPC_TRITRI_EPSILON_TEST
36 
38 // #define OPC_USE_TREE_COHERENCE
39 
41  #define OPC_USE_CALLBACKS
42 
44 // #define OPC_USE_STRIDE
45 
47  #define OPC_NO_NEG_VANILLA_TREE
48 
50  #define OPC_RAYHIT_CALLBACK
51 
52  // NB: no compilation flag to enable/disable stats since they're actually needed in the box/box overlap test
53 
54 #endif //__OPC_SETTINGS_H__