rogueviz::objmodels:: improved preparing

This commit is contained in:
Zeno Rogue
2021-04-07 18:13:45 +02:00
parent 73c4cef0cc
commit 50ddd5c6fc
3 changed files with 26 additions and 19 deletions
+2
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;