summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx/camera.hpp
diff options
context:
space:
mode:
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 0f61435..81952d1 100644
--- a/libdimensionxx/dimensionxx/camera.hpp
+++ b/libdimensionxx/dimensionxx/camera.hpp
@@ -33,7 +33,7 @@ namespace Dimension
virtual ~Camera();
// Camera callback
- virtual Line ray(const Canvas& canvas, unsigned int x, unsigned int y);
+ virtual Line ray(double x, double y);
// Shallow-copy a derived camera
virtual Camera* copy() const = 0;
@@ -70,7 +70,7 @@ namespace Dimension
Custom_Camera();
virtual ~Custom_Camera();
- virtual Line ray(const Canvas& canvas, unsigned int x, unsigned int y) = 0;
+ virtual Line ray(double x, double y) = 0;
};
// Array_Element specialization