modules/graphics/include/moon/graphics.hxx
#ifndef MOON_GFX_H
#define MOON_GFX_H
#include "moon/vector2.hxx"
#include "moon/vector4.hxx"
namespace Moon {
struct Vertex {
Vector2 pos;
Vector2 tex_coord;
Vector4 color;
Vertex() {};
Vertex(Vector2 _pos, Vector2 _tex_coord, Vector4 _color) :
pos(_pos),
tex_coord(_tex_coord),
color(_color)
{};
};
}
#endif