return type;
}
-void PrimitiveBuilder::vertex_(float x, float y, float z, float w)
+void PrimitiveBuilder::vertex_(const Vector4 &v)
{
vab.color(col);
vab.normal(nor);
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(x, y, z, w);
+ vab.vertex(v);
if(in_batch)
element_(array.size()-1);