fix: fixme checked (uploading already)
This commit is contained in:
@ -301,6 +301,7 @@ Object* Object::LoadFile(const std::string& filename) {
|
|||||||
x /= w; y /= w; z /= w;
|
x /= w; y /= w; z /= w;
|
||||||
}
|
}
|
||||||
obj->m_vertices.emplace_back(x, y, z);
|
obj->m_vertices.emplace_back(x, y, z);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,11 +376,10 @@ Object* Object::LoadFile(const std::string& filename) {
|
|||||||
|
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
// FIXME:
|
unsigned int i = 0;
|
||||||
|
for (auto it = obj->Begin(); it != obj->End(); ++it, ++i) {
|
||||||
// for (auto it = obj->Begin(); it != obj->End(); ++it) {
|
std::cout << "Mesh #" << i << " primitives count: " << it->GetIndicesCount() / 3 << std::endl;
|
||||||
// it->Upload();
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user