diff options
Diffstat (limited to 'libdimensionxx/cameras.cpp')
-rw-r--r-- | libdimensionxx/cameras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/cameras.cpp b/libdimensionxx/cameras.cpp index 2c1b69a..ca571be 100644 --- a/libdimensionxx/cameras.cpp +++ b/libdimensionxx/cameras.cpp @@ -55,13 +55,13 @@ namespace Dimension // Shallow-copy this camera Camera* - Perspective_Camera::copy() const + Perspective_Camera::copy() { return new Perspective_Camera(*this); } // Private copy-constructor, for copy() implementation - Perspective_Camera::Perspective_Camera(const Perspective_Camera& camera) + Perspective_Camera::Perspective_Camera(Perspective_Camera& camera) : Camera(camera) { } } |