Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1959 - trunk/Model/AmbientLights


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1959 - trunk/Model/AmbientLights
  • Date: Mon, 31 Dec 2007 00:10:49 -0700 (MST)

Author: sparker
Date: Mon Dec 31 00:10:45 2007
New Revision: 1959

Modified:
   trunk/Model/AmbientLights/ConstantAmbient.h
Log:
Added accessors


Modified: trunk/Model/AmbientLights/ConstantAmbient.h
==============================================================================
--- trunk/Model/AmbientLights/ConstantAmbient.h (original)
+++ trunk/Model/AmbientLights/ConstantAmbient.h Mon Dec 31 00:10:45 2007
@@ -18,6 +18,12 @@
 
     virtual std::string toString() const;
     virtual void readwrite(ArchiveElement*);
+    Color getColor() const {
+      return color;
+    }
+    void setColor(const Color& newcolor) {
+      color = newcolor;
+    }
   private:
     Color color;
   };




  • [Manta] r1959 - trunk/Model/AmbientLights, sparker, 12/31/2007

Archive powered by MHonArc 2.6.16.

Top of page