Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1955 - trunk/Core/Color


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1955 - trunk/Core/Color
  • Date: Sun, 30 Dec 2007 23:52:58 -0700 (MST)

Author: sparker
Date: Sun Dec 30 23:52:55 2007
New Revision: 1955

Modified:
   trunk/Core/Color/ColorSpace.h
Log:
Fix logic error in operator !=


Modified: trunk/Core/Color/ColorSpace.h
==============================================================================
--- trunk/Core/Color/ColorSpace.h       (original)
+++ trunk/Core/Color/ColorSpace.h       Sun Dec 30 23:52:55 2007
@@ -184,8 +184,8 @@
     bool operator!=(const ColorSpace<Traits>& c) {
       for(int i=0;i<NumComponents;i++)
         if(data[i] != c.data[i])
-          return false;
-      return true;
+          return true;
+      return false;
     }
 
 




  • [Manta] r1955 - trunk/Core/Color, sparker, 12/31/2007

Archive powered by MHonArc 2.6.16.

Top of page