Text archives Help
- From: "Solomon Boulos" <boulos@cs.utah.edu>
- To: manta@sci.utah.edu
- Subject: [Manta] r2187 - trunk/Model/Groups
- Date: Sun, 13 Apr 2008 18:12:51 -0600 (MDT)
Author: boulos
Date: Sun Apr 13 18:12:50 2008
New Revision: 2187
Modified:
trunk/Model/Groups/DynBVH.cc
Log:
Model/Groups/DynBVH.cc
Correcting missing <= for box tests.
Modified: trunk/Model/Groups/DynBVH.cc
==============================================================================
--- trunk/Model/Groups/DynBVH.cc (original)
+++ trunk/Model/Groups/DynBVH.cc Sun Apr 13 18:12:50 2008
@@ -333,7 +333,7 @@
float tmin, tmax;
_mm_store_ss(&tmin, tmin2);
_mm_store_ss(&tmax, tmax2);
- if(tmin < tmax){
+ if(tmin <= tmax){
*out_tmin = tmin;
return i;
}
@@ -366,7 +366,7 @@
float tmin, tmax;
_mm_store_ss(&tmin, tmin2);
_mm_store_ss(&tmax, tmax2);
- if(tmin < tmax){
+ if(tmin <= tmax){
*out_tmin = tmin;
return i;
}
- [Manta] r2187 - trunk/Model/Groups, Solomon Boulos, 04/13/2008
Archive powered by MHonArc 2.6.16.