aboutsummaryrefslogtreecommitdiff
path: root/src/ray.cpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-01-24 18:13:44 +0100
committerJulian T <julian@jtle.dk>2021-01-24 18:22:11 +0100
commit41ea2d8f94043d49fc26aaaa8030a73dcfdc2da9 (patch)
treefcc07052425c65b38c1724f4fc30299a1cb48716 /src/ray.cpp
parenta38e6014ea5441e9d29fcb3b5607cd94e4061cff (diff)
Create rust project
Diffstat (limited to 'src/ray.cpp')
-rw-r--r--src/ray.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ray.cpp b/src/ray.cpp
deleted file mode 100644
index 7bc6201..0000000
--- a/src/ray.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "ray.hpp"
-
-Ray::Ray(Vec3d start, Vec3d direction, bool normalize) {
- m_start = start;
- m_direction = direction;
-
- if (normalize) {
- m_direction.normalize();
- }
-}
-
-Ray::Ray(Vec3d a, Vec3d b) {
- m_start = a;
- m_direction = b - a;
-
- m_direction.normalize();
-}