summary refs log tree commit diff
path: root/src/Math/Vector.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-10-01 16:59:29 +0200
committerMel <einebeere@gmail.com>2022-10-01 16:59:29 +0200
commitaca1326e7e3cc4c06e29b92dca256673b46aa510 (patch)
treec7cb614990afa3140700448ab1c89091e1f6e347 /src/Math/Vector.hpp
parente2234b4afebb266878435d10267e7b162b1fe984 (diff)
downloadmeowcraft-aca1326e7e3cc4c06e29b92dca256673b46aa510.tar.zst
meowcraft-aca1326e7e3cc4c06e29b92dca256673b46aa510.zip
Triangle
Diffstat (limited to 'src/Math/Vector.hpp')
-rw-r--r--src/Math/Vector.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Math/Vector.hpp b/src/Math/Vector.hpp
new file mode 100644
index 0000000..9c76758
--- /dev/null
+++ b/src/Math/Vector.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+struct Vector3 {
+public:
+    Vector3(float x, float y, float z)
+        : x(x), y(y), z(z) {};
+
+    float x, y, z;
+};