cache: add .obj model exporter

This commit is contained in:
Adam
2017-03-20 18:01:33 -04:00
parent 592a2502cf
commit da68089c18
6 changed files with 151 additions and 5 deletions

View File

@@ -558,7 +558,7 @@ public class ModelViewer
{
ModelLoader loader = new ModelLoader();
byte[] b = Files.readAllBytes(new File("models/" + id + ".model").toPath());
md = loader.load(b);
md = loader.load(id, b);
models[id] = md;
return md;
}