summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/cameras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx/cameras.cpp')
-rw-r--r--libdimensionxx/cameras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/cameras.cpp b/libdimensionxx/cameras.cpp
index 5d84c4f..f9f8302 100644
--- a/libdimensionxx/cameras.cpp
+++ b/libdimensionxx/cameras.cpp
@@ -47,13 +47,13 @@ namespace Dimension
// Shallow-copy this camera
Camera*
- Perspective_Camera::copy()
+ Perspective_Camera::copy() const
{
return new Perspective_Camera(*this);
}
// Private copy-constructor, for copy() implementation
- Perspective_Camera::Perspective_Camera(Perspective_Camera& camera)
+ Perspective_Camera::Perspective_Camera(const Perspective_Camera& camera)
: Camera(camera)
{ }
}