summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx/cameras.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx/dimensionxx/cameras.hpp')
-rw-r--r--libdimensionxx/dimensionxx/cameras.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/dimensionxx/cameras.hpp b/libdimensionxx/dimensionxx/cameras.hpp
index 364ea4c..ea08535 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();
+ Camera* copy() const;
private:
// Copying prohibited, but used internally
- Perspective_Camera(Perspective_Camera& camera);
+ Perspective_Camera(const Perspective_Camera& camera);
Perspective_Camera& operator=(const Perspective_Camera&);
};
}