vertex[cpOffset] = col.toFloatBits(); // FIXME cache packed color?
}
if (uv != null && uvOffset >= 0) {
vertex[uvOffset  ] = uv.x;
vertex[uvOffset+1] = uv.y;
<BUG>}
vertices.addAll(vertex);
return (short)(vindex++);
}
@Override
public short lastIndex() {
return (short)(vindex-1);</BUG>
}

vertex[cpOffset] = col.toFloatBits(); // FIXME cache packed color?
}
if (uv != null && uvOffset >= 0) {
vertex[uvOffset  ] = uv.x;
vertex[uvOffset+1] = uv.y;
}
addVertex(vertex, 0);
return lastIndex;
}
