max_index(0)
{ }
-Batch &Batch::append(uint i)
+Batch &Batch::append(unsigned i)
{
if(indices.empty())
min_index=max_index=i;
return *this;
}
-void Batch::append(const vector<uint> &ind)
+void Batch::append(const vector<unsigned> &ind)
{
indices.reserve(indices.size()+ind.size());
- for(vector<uint>::const_iterator i=ind.begin(); i!=ind.end(); ++i)
+ for(vector<unsigned>::const_iterator i=ind.begin(); i!=ind.end(); ++i)
append(*i);
}
add("indices", &Loader::indices);
}
-void Batch::Loader::indices(const vector<uint> &ind)
+void Batch::Loader::indices(const vector<unsigned> &ind)
{
obj.append(ind);
}