public:
VertexBuilder() { normal(0, 0, 1); }
- virtual ~VertexBuilder() { }
+ virtual ~VertexBuilder() = default;
void set_matrix(const Matrix &m)
{ mtx = m; }
{ color(Color(r, g, b, a)); }
void color(const Color &c)
- { attrib(get_attribute_semantic(COLOR4_FLOAT), Vector4(c.r, c.g, c.b, c.a)); }
+ { attrib(get_attribute_semantic(COLOR4), Vector4(c.r, c.g, c.b, c.a)); }
void group(int g0)
{ group(g0, 0, 0, 0); }