Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r827 - branches/vertical/Interface


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r827 - branches/vertical/Interface
  • Date: Thu, 5 Jan 2006 16:02:32 -0700 (MST)

Author: bigler
Date: Thu Jan  5 16:02:32 2006
New Revision: 827

Modified:
   branches/vertical/Interface/RayPacket.h
Log:

Interface/RayPacket.h

  Use the correct index when normalizing the normals.


Modified: branches/vertical/Interface/RayPacket.h
==============================================================================
--- branches/vertical/Interface/RayPacket.h     (original)
+++ branches/vertical/Interface/RayPacket.h     Thu Jan  5 16:02:32 2006
@@ -437,7 +437,7 @@
               sum += data->normal[j][s] * data->normal[j][s];
             Real scale = 1/SCIRun::Sqrt(sum);
             for(int j=0;j<3;++j)
-              data->normal[j][i] *= scale;
+              data->normal[j][s] *= scale;
           }
         }
         i=tend;




  • [MANTA] r827 - branches/vertical/Interface, bigler, 01/05/2006

Archive powered by MHonArc 2.6.16.

Top of page