aboutsummaryrefslogtreecommitdiff
path: root/src/core/ray.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ray.rs')
-rw-r--r--src/core/ray.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/ray.rs b/src/core/ray.rs
new file mode 100644
index 0000000..7d73b93
--- /dev/null
+++ b/src/core/ray.rs
@@ -0,0 +1,6 @@
+use crate::core::Vector3f;
+
+pub struct Ray {
+ origin: Vector3f,
+ direction: Vector3f,
+}