diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-11 16:54:49 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-11 16:54:49 +0000 |
commit | ca84516fa80cfca35da7df71ea04423780028212 (patch) | |
tree | b3441beb05e36698d0ed626fe055d0ea048589b3 /libdimensionxx/dimensionxx/cameras.hpp | |
parent | a64f9e671936451d7a3a60191dcca6e37e97e585 (diff) | |
download | dimension-ca84516fa80cfca35da7df71ea04423780028212.tar.xz |
Make copy() a non-const method.
Diffstat (limited to 'libdimensionxx/dimensionxx/cameras.hpp')
-rw-r--r-- | libdimensionxx/dimensionxx/cameras.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/dimensionxx/cameras.hpp b/libdimensionxx/dimensionxx/cameras.hpp index 7f70af7..1764ac5 100644 --- a/libdimensionxx/dimensionxx/cameras.hpp +++ b/libdimensionxx/dimensionxx/cameras.hpp @@ -37,11 +37,11 @@ namespace Dimension void trans(const Matrix& trans); // Shallow-copy the camera - Camera* copy() const; + Camera* copy(); private: // Copying prohibited, but used internally - Perspective_Camera(const Perspective_Camera& camera); + Perspective_Camera(Perspective_Camera& camera); Perspective_Camera& operator=(const Perspective_Camera&); }; } |