diff options
author | Julian T <julian@jtle.dk> | 2021-01-12 18:48:40 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-12 18:48:40 +0100 |
commit | 8251be3e7ec0e381391c951fd4c8f1ab8080bef9 (patch) | |
tree | 8caaf285d59fadb3fb4ce6f3a4c9e1d956d8e21e /src/ray.cpp | |
parent | 0f9e88ccf0510ab4d830529fa539ef6db715f988 (diff) |
Reorgranize source file structure
Diffstat (limited to 'src/ray.cpp')
-rw-r--r-- | src/ray.cpp | 17 |
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(); -} |