summaryrefslogtreecommitdiff
path: root/libs/ode-0.16.1/OPCODE/OPC_Settings.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-01 20:59:36 -0500
committersanine <sanine.not@pm.me>2022-10-01 20:59:36 -0500
commitc5fc66ee58f2c60f2d226868bb1cf5b91badaf53 (patch)
tree277dd280daf10bf77013236b8edfa5f88708c7e0 /libs/ode-0.16.1/OPCODE/OPC_Settings.h
parent1cf9cc3408af7008451f9133fb95af66a9697d15 (diff)
add ode
Diffstat (limited to 'libs/ode-0.16.1/OPCODE/OPC_Settings.h')
-rw-r--r--libs/ode-0.16.1/OPCODE/OPC_Settings.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/libs/ode-0.16.1/OPCODE/OPC_Settings.h b/libs/ode-0.16.1/OPCODE/OPC_Settings.h
new file mode 100644
index 0000000..7509888
--- /dev/null
+++ b/libs/ode-0.16.1/OPCODE/OPC_Settings.h
@@ -0,0 +1,49 @@
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+/*
+ * OPCODE - Optimized Collision Detection
+ * Copyright (C) 2001 Pierre Terdiman
+ * Homepage: http://www.codercorner.com/Opcode.htm
+ */
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+/**
+ * Contains compilation flags.
+ * \file OPC_Settings.h
+ * \author Pierre Terdiman
+ * \date May, 12, 2001
+ */
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// Include Guard
+#ifndef __OPC_SETTINGS_H__
+#define __OPC_SETTINGS_H__
+
+ //! Use CPU comparisons (comment that line to use standard FPU compares)
+ //#define OPC_CPU_COMPARE
+
+ //! Use FCOMI / FCMOV on Pentium-Pro based processors (comment that line to use plain C++)
+ #define OPC_USE_FCOMI
+
+ //! Use epsilon value in tri-tri overlap test
+ #define OPC_TRITRI_EPSILON_TEST
+
+ //! Use tree-coherence or not [not implemented yet]
+// #define OPC_USE_TREE_COHERENCE
+
+ //! Use callbacks or direct pointers. Using callbacks might be a bit slower (but probably not much)
+// #define OPC_USE_CALLBACKS
+
+ //! Support triangle and vertex strides or not. Using strides might be a bit slower (but probably not much)
+ #define OPC_USE_STRIDE
+
+ //! Discard negative pointer in vanilla trees
+ #define OPC_NO_NEG_VANILLA_TREE
+
+ //! Use a callback in the ray collider
+ //#define OPC_RAYHIT_CALLBACK
+
+ // NB: no compilation flag to enable/disable stats since they're actually needed in the box/box overlap test
+
+#endif //__OPC_SETTINGS_H__