1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

rogueviz::objmodels:: improved preparing

This commit is contained in:
Zeno Rogue
2021-03-31 10:53:59 +02:00
parent 73c4cef0cc
commit 50ddd5c6fc
3 changed files with 26 additions and 19 deletions

View File

@@ -27,6 +27,8 @@ void model::load_obj(model_data& md) {
if(!fs.f)
throw hr_exception("failed to open model file: " + path + fname);
preparer();
vector<hyperpoint> vertices;
vector<hyperpoint> normals;