Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2058 - trunk/Interface


Chronological Thread 
  • From: roni@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2058 - trunk/Interface
  • Date: Tue, 12 Feb 2008 23:36:12 -0700 (MST)

Author: roni
Date: Tue Feb 12 23:36:12 2008
New Revision: 2058

Modified:
   trunk/Interface/Camera.h
Log:
Interface/Camera.h:
  Adding accessor to go with mutator.


Modified: trunk/Interface/Camera.h
==============================================================================
--- trunk/Interface/Camera.h    (original)
+++ trunk/Interface/Camera.h    Tue Feb 12 23:36:12 2008
@@ -67,9 +67,10 @@
       KeepNone
     };
     void setAspectRatioMode(AspectRatioMode mode) { aspectRatioMode = mode; }
+    AspectRatioMode getAspectRatioMode() const { return aspectRatioMode; }
 
-    // Choudhury: This method is not pure virtual so as not to break
-    // the other cameras.
+    // NOTE(choudhury): This method is not pure virtual so as not to
+    // break the other cameras.
     virtual void setAspectRatio(float ratio) { }
 
     // This is not pass by reference because it needs to be used in a 
transaction




  • [Manta] r2058 - trunk/Interface, roni, 02/13/2008

Archive powered by MHonArc 2.6.16.

Top of page