Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r546 - trunk/Core/Geometry


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r546 - trunk/Core/Geometry
  • Date: Tue, 13 Sep 2005 13:40:17 -0600 (MDT)

Author: bigler
Date: Tue Sep 13 13:40:17 2005
New Revision: 546

Modified:
   trunk/Core/Geometry/PointVector.h
Log:

Uhm, operator/(Vector) should divide, not multiply components.

Merged from itanium2 branch using this command:

svn merge -r 427:545 
https://code.sci.utah.edu/svn/Manta/branches/itanium2/Core/Geometry/PointVector.h


Modified: trunk/Core/Geometry/PointVector.h
==============================================================================
--- trunk/Core/Geometry/PointVector.h   (original)
+++ trunk/Core/Geometry/PointVector.h   Tue Sep 13 13:40:17 2005
@@ -139,7 +139,7 @@
     VectorT<T, Dim> operator/(const VectorT<T, Dim>& v) const {
       VectorT<T, Dim> result;
       for(int i=0;i<Dim;i++)
-        result.data[i] = data[i] * v.data[i];
+        result.data[i] = data[i] / v.data[i];
       return result;
     }
 




  • [MANTA] r546 - trunk/Core/Geometry, bigler, 09/13/2005

Archive powered by MHonArc 2.6.16.

Top of page