diff options
Diffstat (limited to 'src/libjin/graphics/vertex.h')
-rw-r--r-- | src/libjin/graphics/vertex.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libjin/graphics/vertex.h b/src/libjin/graphics/vertex.h new file mode 100644 index 0000000..192117e --- /dev/null +++ b/src/libjin/graphics/vertex.h @@ -0,0 +1,23 @@ +#ifndef __JE_MATH_VERTEX_H__ +#define __JE_MATH_VERTEX_H__ + +#include "../math/vector2.hpp" + +#include "color.h" + +namespace JinEngine +{ + namespace Graphics + { + + struct Vertex + { + Math::Vector2<float> xy; + Math::Vector2<float> uv; + Color color; + }; + + } +} + +#endif
\ No newline at end of file |