- vab.texcoord(ts, tt, tr,tq);
- vab.color(cr, cg, cb, ca);
- vab.normal(nx, ny, nz);
- vab.vertex(x, y, z, 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);
+ vab.vertex(v);