summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx/camera.hpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-11 16:54:49 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-11 16:54:49 +0000
commitca84516fa80cfca35da7df71ea04423780028212 (patch)
treeb3441beb05e36698d0ed626fe055d0ea048589b3 /libdimensionxx/dimensionxx/camera.hpp
parenta64f9e671936451d7a3a60191dcca6e37e97e585 (diff)
downloaddimension-ca84516fa80cfca35da7df71ea04423780028212.tar.xz
Make copy() a non-const method.
Diffstat (limited to 'libdimensionxx/dimensionxx/camera.hpp')
-rw-r--r--libdimensionxx/dimensionxx/camera.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/dimensionxx/camera.hpp b/libdimensionxx/dimensionxx/camera.hpp
index 049f237..9b717ff 100644
--- a/libdimensionxx/dimensionxx/camera.hpp
+++ b/libdimensionxx/dimensionxx/camera.hpp
@@ -36,7 +36,7 @@ namespace Dimension
virtual Line ray(const Canvas& canvas, unsigned int x, unsigned int y);
// Shallow-copy a derived camera
- virtual Camera* copy() const = 0;
+ virtual Camera* copy() = 0;
// Access the wrapped C camera.
dmnsn_camera* dmnsn();
@@ -46,7 +46,7 @@ namespace Dimension
// No-op
Camera();
// Shallow-copy
- Camera(const Camera& camera);
+ Camera(Camera& camera);
// Wrap an existing camera
explicit Camera(dmnsn_camera* camera);