aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ode-devel/ode/files/patch-OPC_TreeCollider.h
blob: 297a0aeaa80fcb057989eee73aee4b4e296b0592 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- OPCODE/OPC_TreeCollider.h.orig  Mon May 23 20:11:48 2005
+++ OPCODE/OPC_TreeCollider.h   Mon May 23 20:16:16 2005
@@ -28,6 +28,13 @@
    //! even entering the recursive collision code.
    struct OPCODE_API BVTCache : Pair
    {
+       inline_     void    ResetCountDown()
+                           {
+#ifdef __MESHMERIZER_H__       // Collision hulls only supported within ICE !
+                               CountDown       = 50;
+#endif // __MESHMERIZER_H__
+                           }
+
        //! Constructor
        inline_             BVTCache()
                            {
@@ -46,13 +53,6 @@
                                SepVector.pid   = 0;
                                SepVector.qid   = 0;
                                SepVector.SV    = Point(1.0f, 0.0f, 0.0f);
-#endif // __MESHMERIZER_H__
-                           }
-
-       inline_     void    ResetCountDown()
-                           {
-#ifdef __MESHMERIZER_H__       // Collision hulls only supported within ICE !
-                               CountDown       = 50;
 #endif // __MESHMERIZER_H__
                            }