2014-10-22 20:53:46 +00:00
|
|
|
#include "model.hh"
|
|
|
|
|
|
|
|
Model::Model(std::string filePath) {
|
|
|
|
reference = ACGL::OpenGL::VertexArrayObjectCreator(filePath).create();
|
|
|
|
reference->bind();
|
|
|
|
}
|
|
|
|
|
2014-10-24 08:48:45 +00:00
|
|
|
Model::Model(){
|
|
|
|
}
|
|
|
|
|
2014-10-22 20:53:46 +00:00
|
|
|
Model::~Model() {
|
|
|
|
}
|
|
|
|
|
|
|
|
ACGL::OpenGL::SharedVertexArrayObject Model::getReference() {
|
|
|
|
return reference;
|
|
|
|
}
|