Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1027 - trunk/Interface


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1027 - trunk/Interface
  • Date: Sat, 29 Apr 2006 21:44:15 -0600 (MDT)

Author: sparker
Date: Sat Apr 29 21:44:14 2006
New Revision: 1027

Modified:
   trunk/Interface/Fragment.h
Log:
Change which_eye to whichEye for consistency


Modified: trunk/Interface/Fragment.h
==============================================================================
--- trunk/Interface/Fragment.h  (original)
+++ trunk/Interface/Fragment.h  Sat Apr 29 21:44:14 2006
@@ -56,7 +56,7 @@
       ASSERT(pixelEnd < MaxSize);
       pixel[0][pixelEnd] = x;
       pixel[1][pixelEnd] = y;
-      which_eye[pixelEnd] = eye;
+      whichEye[pixelEnd] = eye;
       pixelEnd++;
     }
       
@@ -64,7 +64,7 @@
       ASSERTRANGE(i, 0, MaxSize);
       pixel[0][i] = x;
       pixel[1][i] = y;
-      which_eye[i] = eye;
+      whichEye[i] = eye;
     }
 
     void setConsecutiveX(int xstart, int xend, int y, int eye) {
@@ -73,7 +73,7 @@
       for(int i=0; i< nx;i++){
         pixel[0][i] = i+xstart;
         pixel[1][i] = y;
-        which_eye[i] = eye;
+        whichEye[i] = eye;
       }
       flags = ConsecutiveX|ConstantEye;
       pixelBegin = 0;
@@ -127,7 +127,7 @@
       // This will be true if size is <= 1.
       int test_passed = ConstantEye;
       for(int i = pixelBegin+1; i < pixelEnd; ++i)
-        if (which_eye[i-1] != which_eye[i]) {
+        if (whichEye[i-1] != whichEye[i]) {
           test_passed = 0;
           break;
         }
@@ -159,7 +159,7 @@
     }
     int getWhichEye(int which) const
     {
-      return which_eye[which];
+      return whichEye[which];
     }
 
     // Color
@@ -205,7 +205,7 @@
     // Fragment data
     MANTA_ALIGN(16) Color::ComponentType 
color[Manta::Color::NumComponents][MaxSize];
     MANTA_ALIGN(16) int pixel[2][MaxSize];
-    MANTA_ALIGN(16) int which_eye[MaxSize];
+    MANTA_ALIGN(16) int whichEye[MaxSize];
 
     // Properties of this packet
     int flags;




  • [MANTA] r1027 - trunk/Interface, sparker, 04/29/2006

Archive powered by MHonArc 2.6.16.

Top of page