aboutsummaryrefslogtreecommitdiffstats
path: root/src/ray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ray.cpp')
-rw-r--r--src/ray.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ray.cpp b/src/ray.cpp
deleted file mode 100644
index 9a8bd36..0000000
--- a/src/ray.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "ray.hpp"
-
-ray::ray()
-{}
-
-ray::ray(const point3& origin, const vec3& direction): origin(origin), direction(direction)
-{}
-
-point3 ray::at(double t) const {
- return origin + direction * t;
-}