diff options
Diffstat (limited to 'src/libjin/graphics/je_vertex.h')
-rw-r--r-- | src/libjin/graphics/je_vertex.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libjin/graphics/je_vertex.h b/src/libjin/graphics/je_vertex.h index d149cfc..d2b482c 100644 --- a/src/libjin/graphics/je_vertex.h +++ b/src/libjin/graphics/je_vertex.h @@ -1,6 +1,8 @@ #ifndef __JE_MATH_VERTEX_H__ #define __JE_MATH_VERTEX_H__ +#include "../math/je_vector2.hpp" + #include "je_color.h" namespace JinEngine @@ -10,9 +12,9 @@ namespace JinEngine struct Vertex { - float x, y; // Coordinates - float u, v; // UV - Color color; // Color + Math::Vector2<float> xy; + Math::Vector2<float> uv; + Color color; }; } |