void tangent(const Vector3 &t)
{ attrib(get_attribute_semantic(TANGENT3), mtx*Vector4(t.x, t.y, t.z, 0)); }
void tangent(const Vector3 &t)
{ attrib(get_attribute_semantic(TANGENT3), mtx*Vector4(t.x, t.y, t.z, 0)); }
void texcoord(float s)
{ texcoord(s, 0, 0, 1); }
void texcoord(float s)
{ texcoord(s, 0, 0, 1); }
{ color(Color(r, g, b, a)); }
void color(const Color &c)
{ 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)); }