Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2011 - trunk/Model/Groups


Chronological Thread 
  • From: thiago@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2011 - trunk/Model/Groups
  • Date: Mon, 28 Jan 2008 16:38:21 -0700 (MST)

Author: thiago
Date: Mon Jan 28 16:38:20 2008
New Revision: 2011

Modified:
   trunk/Model/Groups/DynBVH.h
Log:
object_ids is used as a signed int, so I'm making it match
that. Changing it from unsigned to signed also seems to give a slight
performance boost (couple percent).

Modified: trunk/Model/Groups/DynBVH.h
==============================================================================
--- trunk/Model/Groups/DynBVH.h (original)
+++ trunk/Model/Groups/DynBVH.h Mon Jan 28 16:38:20 2008
@@ -59,7 +59,7 @@
     };
 
     vector<BVHNode> nodes;
-    vector<unsigned int> object_ids;
+    vector<int> object_ids;
     unsigned int num_nodes;
     Group* currGroup;
     bool group_changed;




  • [Manta] r2011 - trunk/Model/Groups, thiago, 01/28/2008

Archive powered by MHonArc 2.6.16.

Top of page