aboutsummaryrefslogtreecommitdiffstats
path: root/include/ray.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ray.hpp')
-rw-r--r--include/ray.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ray.hpp b/include/ray.hpp
index 3f8542b..b3d88ae 100644
--- a/include/ray.hpp
+++ b/include/ray.hpp
@@ -8,7 +8,7 @@ class ray {
ray(const point3& origin, const vec3& direction);
- point3 at(double t);
+ point3 at(double t) const;
point3 origin;
vec3 direction;