Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r317 - trunk/Core/Geometry


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r317 - trunk/Core/Geometry
  • Date: Fri, 13 May 2005 17:13:55 -0600 (MDT)

Author: sparker
Date: Fri May 13 17:13:54 2005
New Revision: 317

Modified:
   trunk/Core/Geometry/PointVector.h
Log:
multiply is * not +


Modified: trunk/Core/Geometry/PointVector.h
==============================================================================
--- trunk/Core/Geometry/PointVector.h   (original)
+++ trunk/Core/Geometry/PointVector.h   Fri May 13 17:13:54 2005
@@ -301,7 +301,7 @@
     PointT<T, Dim> multipliedBy(T s) const {
       PointT<T, Dim> result;
       for(int i=0;i<Dim;i++)
-        result.data[i] = data[i] + s;
+        result.data[i] = data[i] * s;
       return result;
     }
     PointT<T, Dim> multipliedBy(const VectorT<T, Dim>& v) const {




  • [MANTA] r317 - trunk/Core/Geometry, sparker, 05/13/2005

Archive powered by MHonArc 2.6.16.

Top of page