aboutsummaryrefslogtreecommitdiff
path: root/include/Vec.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-11-04 00:50:45 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-18 15:21:48 +0100
commit23a37b2cdd8ffde8bb85a4159888bf3a7ec35966 (patch)
tree83db7b81936621b6a2435e9b5db0de18496cd12f /include/Vec.hpp
parentfbd2e5d9a802db4fb5e056705ec599ac423e09be (diff)
Use external shaders instead of generating shader code from c++ code...
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