Adding OBJ-file load messages for easier debugging.
This commit is contained in:
parent
c96d081e3d
commit
02641d7f1c
1
model.cc
1
model.cc
@ -1,6 +1,7 @@
|
|||||||
#include "model.hh"
|
#include "model.hh"
|
||||||
|
|
||||||
Model::Model(std::string filePath, float scale) {
|
Model::Model(std::string filePath, float scale) {
|
||||||
|
printf("Loading %s\n", filePath.c_str());
|
||||||
reference = ACGL::OpenGL::VertexArrayObjectCreator(filePath).create();
|
reference = ACGL::OpenGL::VertexArrayObjectCreator(filePath).create();
|
||||||
this->scale = scale;
|
this->scale = scale;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user