Saxum/model.hh

22 lines
502 B
C++
Raw Normal View History

2014-10-20 17:09:03 +00:00
#ifndef MODEL_HH_INCLUDED
#define MODEL_HH_INCLUDED
#include <string>
2014-10-22 20:53:46 +00:00
#include <ACGL/OpenGL/Creator/VertexArrayObjectCreator.hh>
2014-10-20 17:09:03 +00:00
class Model {
public:
Model(std::string filePath, float scale);
2014-10-20 17:09:03 +00:00
Model(std::string filePath);
Model();
2014-10-20 17:09:03 +00:00
~Model();
2014-10-22 20:53:46 +00:00
ACGL::OpenGL::SharedVertexArrayObject getReference();
void setScale(float scale);
float getScale();
2014-10-20 17:09:03 +00:00
private:
2014-10-22 20:53:46 +00:00
ACGL::OpenGL::SharedVertexArrayObject reference;
float scale;
2014-10-20 17:09:03 +00:00
};
#endif