aboutsummaryrefslogtreecommitdiff
path: root/src/core/ray.hpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-01-12 18:48:40 +0100
committerJulian T <julian@jtle.dk>2021-01-12 18:48:40 +0100
commit8251be3e7ec0e381391c951fd4c8f1ab8080bef9 (patch)
tree8caaf285d59fadb3fb4ce6f3a4c9e1d956d8e21e /src/core/ray.hpp
parent0f9e88ccf0510ab4d830529fa539ef6db715f988 (diff)
Reorgranize source file structure
Diffstat (limited to 'src/core/ray.hpp')
-rw-r--r--src/core/ray.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/ray.hpp b/src/core/ray.hpp
new file mode 100644
index 0000000..6341d44
--- /dev/null
+++ b/src/core/ray.hpp
@@ -0,0 +1,15 @@
+#ifndef RAY_H
+#define RAY_H
+
+#include "vector.hpp"
+
+class Ray {
+ public:
+ Ray(Vec3d start, Vec3d direction, bool normalize);
+ Ray(Vec3d a, Vec3d b);
+
+ Vec3d m_start;
+ Vec3d m_direction;
+};
+
+#endif