Commit in order to pull from Master.

This commit is contained in:
antc13
2016-01-19 18:21:27 +01:00
parent 3826142e94
commit e643581971
5 changed files with 13 additions and 11 deletions
+4 -3
View File
@@ -69,9 +69,10 @@ public:
for (auto aVertex : Vertices) {
aVertex.WriteBinary(out);
}
//for (auto aIndex : Indices) {
for (std::map<std::string, std::vector<int>>::reverse_iterator aIndex = Indices.rbegin(); aIndex != Indices.rend(); aIndex++){
out.write((char*)(*aIndex).second.data(), sizeof(int) * (*aIndex).second.size());
for (auto aIndex : Indices) {
//for (std::map<std::string, std::vector<int>>::reverse_iterator aIndex = Indices.rbegin(); aIndex != Indices.rend(); aIndex++){
//out.write((char*)(*aIndex).second.data(), sizeof(int) * (*aIndex).second.size());
out.write((char*)aIndex.second.data(), sizeof(int) * aIndex.second.size());
}
}