- vab.texcoord(ts, tt, tr, tq);
- vab.color(cr, cg, cb, ca);
- vab.normal(nx, ny, nz);
- for(std::map<unsigned, Attrib>::iterator i=av.begin(); i!=av.end(); ++i)
- vab.attrib(i->first, i->second.x, i->second.y, i->second.z, i->second.w);
+ vab.color(col);
+ vab.normal(nor);
+ for(std::map<unsigned, Vector4>::iterator i=texc.begin(); i!=texc.end(); ++i)
+ vab.multitexcoord(i->first, i->second);
+ for(std::map<unsigned, Vector4>::iterator i=attr.begin(); i!=attr.end(); ++i)
+ vab.attrib(i->first, i->second);