diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-02-15 01:36:41 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-18 15:22:10 +0100 |
commit | e4d073947d09634e95325ddaf8f1615f85e85901 (patch) | |
tree | 1bfa96dd7692f0d1c0029b3ba9a82e4ba719eb71 /include/Vec.hpp | |
parent | b366f3d0c573468ecd0b59da43dfcbc847334b19 (diff) |
Load texture in obj model loader.. broken
Diffstat (limited to 'include/Vec.hpp')
-rw-r--r-- | include/Vec.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
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 |