Saxum/model.cc
2014-10-22 22:53:46 +02:00

14 lines
266 B
C++

#include "model.hh"
Model::Model(std::string filePath) {
reference = ACGL::OpenGL::VertexArrayObjectCreator(filePath).create();
reference->bind();
}
Model::~Model() {
}
ACGL::OpenGL::SharedVertexArrayObject Model::getReference() {
return reference;
}