namespace Msp {
namespace GL {
-Mesh::Mesh(const VertexFormat &f):
- Mesh()
+Mesh::Mesh(const VertexFormat &f)
{
storage(f);
}
}
}
-unsigned Mesh::get_n_vertices() const
+size_t Mesh::get_n_vertices() const
{
return vertices.size();
}
-char *Mesh::modify_vertex(unsigned i)
+char *Mesh::modify_vertex(size_t i)
{
if(vertices.get_format().empty())
throw invalid_operation("Mesh::modify_vertex");