From e4d073947d09634e95325ddaf8f1615f85e85901 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 15 Feb 2020 01:36:41 +0100 Subject: Load texture in obj model loader.. broken --- include/Vec.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/Vec.hpp') diff --git a/include/Vec.hpp b/include/Vec.hpp index 339a98b..87e9bea 100644 --- a/include/Vec.hpp +++ b/include/Vec.hpp @@ -3,12 +3,20 @@ #include "types.hpp" namespace amalgine { + struct vec2f { + f32 x; + f32 y; + + vec2f() : x(0.0f), y(0.0f) {} + vec2f(f32 x, f32 y) : x(x), y(y) {} + }; + struct vec3f { f32 x; f32 y; f32 z; - vec3f() : x(0.0f), y(0.0f) {} + vec3f() : x(0.0f), y(0.0f), z(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