- shape->Vertices(vertices, pos);
- colors.insert(colors.end(), shape->VertexCount(), color);
- shape->Normals(normals);
+ shape->Vertices(model.vertices, model.normals, model.indices, pos_offset, idx_offset);
+ model.colors.insert(model.colors.end(), shape->VertexCount(), color);