Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r973 - trunk/Model/Materials


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r973 - trunk/Model/Materials
  • Date: Mon, 6 Mar 2006 11:22:19 -0700 (MST)

Author: bigler
Date: Mon Mar  6 11:22:19 2006
New Revision: 973

Modified:
   trunk/Model/Materials/NDotL.cc
Log:

Use ColorComponent instead of float (benign checkin to test checkins
from insecure.utah.edu).


Modified: trunk/Model/Materials/NDotL.cc
==============================================================================
--- trunk/Model/Materials/NDotL.cc      (original)
+++ trunk/Model/Materials/NDotL.cc      Mon Mar  6 11:22:19 2006
@@ -73,7 +73,7 @@
     // Copy the colors into the ray packet.
     for(int i=rays.begin();i<rays.end();i++)
     {
-        float cosine = Dot(FaceForward(rays.getNormal(i), 
rays.getDirection(i)),
+        ColorComponent cosine = Dot(FaceForward(rays.getNormal(i), 
rays.getDirection(i)),
                            direction);
         if (cosine < 0)
             cosine = 0;




  • [MANTA] r973 - trunk/Model/Materials, bigler, 03/06/2006

Archive powered by MHonArc 2.6.16.

Top of page