Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2157 - trunk/Model/Groups


Chronological Thread 
  • From: "Thiago Ize" <thiago@sci.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2157 - trunk/Model/Groups
  • Date: Sun, 30 Mar 2008 13:32:57 -0600 (MDT)

Author: thiago
Date: Sun Mar 30 13:32:56 2008
New Revision: 2157

Modified:
   trunk/Model/Groups/DynBVH.h
Log:
Fixing swig compile error. The c++ code is fine,
but swig is stupid.

Modified: trunk/Model/Groups/DynBVH.h
==============================================================================
--- trunk/Model/Groups/DynBVH.h (original)
+++ trunk/Model/Groups/DynBVH.h Sun Mar 30 13:32:56 2008
@@ -107,8 +107,8 @@
 
     bool print_info;
   public:
-    const static unsigned int kNumLazyBuildMutexes = 16;
-    const static unsigned int kLazyBuildMutexMask = kNumLazyBuildMutexes - 1;
+    static const unsigned int kNumLazyBuildMutexes = 16;
+    static const unsigned int kLazyBuildMutexMask = kNumLazyBuildMutexes - 1;
     DynBVH(bool print = true) : num_nodes("DynBVH Num Nodes", 0), 
currGroup(NULL), group_changed(false), barrier("DynBVH barrier"), 
lazybuild_mutex("Lazybuild Mutex", kNumLazyBuildMutexes), nextFree("DynBVH 
Next Free", 0), TaskListMemory(0), CurTaskList(0), TaskMemory(0), CurTask(0), 
TwoArgCallbackMemory(0), CurTwoArgCallback(0), FourArgCallbackMemory(0), 
CurFourArgCallback(0), FiveArgCallbackMemory(0), CurFiveArgCallback(0), 
print_info(print)
     {}
     virtual ~DynBVH();




  • [Manta] r2157 - trunk/Model/Groups, Thiago Ize, 03/30/2008

Archive powered by MHonArc 2.6.16.

Top of page