Text archives Help
- From: boulos@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1922 - in trunk: Model/Textures UserInterface
- Date: Wed, 12 Dec 2007 14:57:41 -0700 (MST)
Author: boulos
Date: Wed Dec 12 14:57:38 2007
New Revision: 1922
Modified:
trunk/Model/Textures/Constant.h
trunk/UserInterface/CameraPathAutomator.h
Log:
Model/Textures/Constant.h
UserInterface/CameraPathAutomator.h
Removing const modifier from callbacks as some compilers (e.g. Intel
Compiler for Windows) don't seem to perform the const cast through the
Callback::create template magic.
Modified: trunk/Model/Textures/Constant.h
==============================================================================
--- trunk/Model/Textures/Constant.h (original)
+++ trunk/Model/Textures/Constant.h Wed Dec 12 14:57:38 2007
@@ -23,7 +23,7 @@
const RenderContext&,
RayPacket& rays) const;
ValueType getValue() const { return value; }
- void setValue( const ValueType value_ ) { value = value_; }
+ void setValue( ValueType value_ ) { value = value_; }
void readwrite(ArchiveElement* archive);
private:
Modified: trunk/UserInterface/CameraPathAutomator.h
==============================================================================
--- trunk/UserInterface/CameraPathAutomator.h (original)
+++ trunk/UserInterface/CameraPathAutomator.h Wed Dec 12 14:57:38 2007
@@ -148,8 +148,8 @@
// This method is called by the manta rendering thread to update
// the camera.
- void mantaSetCamera( const Vector eye_, const Vector lookat_,
- const Vector up_ );
+ void mantaSetCamera( Vector eye_, Vector lookat_,
+ Vector up_ );
// This method is called by the manta rendering thread to synchronize.
void mantaSynchronize( int issue_transaction );
- [Manta] r1922 - in trunk: Model/Textures UserInterface, boulos, 12/12/2007
Archive powered by MHonArc 2.6.16.