From 23a37b2cdd8ffde8bb85a4159888bf3a7ec35966 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 4 Nov 2019 00:50:45 +0100 Subject: Use external shaders instead of generating shader code from c++ code... --- include/Vec.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/Vec.hpp (limited to 'include/Vec.hpp') 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 -- cgit v1.2.3