aboutsummaryrefslogtreecommitdiff
path: root/include/Vec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Vec.hpp')
-rw-r--r--include/Vec.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/Vec.hpp b/include/Vec.hpp
new file mode 100644
index 0000000..339a98b
--- /dev/null
+++ b/include/Vec.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "types.hpp"
+
+namespace amalgine {
+ struct vec3f {
+ f32 x;
+ f32 y;
+ f32 z;
+
+ vec3f() : x(0.0f), y(0.0f) {}
+ vec3f(f32 x, f32 y, f32 z) : x(x), y(y), z(z) {}
+ };
+} \ No newline at end of file