20 #ifndef _GENERICVERTEXTYPES_HPP_
21 #define _GENERICVERTEXTYPES_HPP_
23 #include "StelVertexAttribute.hpp"
24 #include "VecMath.hpp"
35 VertexP2(
const float x,
const float y) : position(x, y) {}
47 : position(position), texCoord(texCoord) {}
51 : position(pos[0], pos[1], 0.0f), texCoord(texCoord) {}
65 : position(position), texCoord(texCoord), color(color) {}
69 : position(pos[0], pos[1], 0.0f), texCoord(texCoord), color(color) {}
73 #endif // _GENERICVERTEXTYPES_HPP_