Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r451 - branches/itanium2/Model/Materials
- Date: Thu, 28 Jul 2005 03:33:44 -0600 (MDT)
Author: boulos
Date: Thu Jul 28 03:33:42 2005
New Revision: 451
Modified:
branches/itanium2/Model/Materials/Dielectric.cc
Log:
Fixing from_outsides indexing bug...
Modified: branches/itanium2/Model/Materials/Dielectric.cc
==============================================================================
--- branches/itanium2/Model/Materials/Dielectric.cc (original)
+++ branches/itanium2/Model/Materials/Dielectric.cc Thu Jul 28 03:33:42
2005
@@ -245,7 +245,7 @@
{
RayPacket::Element& r = internal_rays.get(internal_counter);
- if ( !from_outsides[internal_counter] )
+ if ( !from_outsides[i] )
{
// These two Beer's law calculations are equivalent, but
// one may be faster than the other
@@ -260,7 +260,7 @@
RayPacket::Element& refl = reflected_rays.get(branch_counter);
RayPacket::Element& refr = refracted_rays.get(branch_counter);
- if ( from_outsides[branch_counter] )
+ if ( from_outsides[i] )
{
// These two Beer's law calculations are equivalent, but
// one may be faster than the other
- [MANTA] r451 - branches/itanium2/Model/Materials, boulos, 07/28/2005
Archive powered by MHonArc 2.6.16.