Saxum/object.hh

26 lines
664 B
C++
Raw Permalink Normal View History

2014-10-20 17:09:19 +00:00
#ifndef OBJECT_HH_INCLUDED
#define OBJECT_HH_INCLUDED
#include "entity.hh"
#include "model.hh"
#include "material.hh"
2014-10-22 22:13:09 +00:00
#include <string>
2014-10-20 17:09:19 +00:00
#include <ACGL/Math/Math.hh>
2014-10-22 22:13:09 +00:00
#include <ACGL/OpenGL/Managers.hh>
#include <ACGL/OpenGL/Objects.hh>
2014-10-20 17:09:19 +00:00
2014-10-31 09:38:06 +00:00
class Object : public Entity {
2014-10-20 17:09:19 +00:00
public:
Object(Model model, Material material,
glm::vec3 position, glm::vec3 rotation);
Object();
2014-10-20 17:09:19 +00:00
~Object();
void render(ACGL::OpenGL::SharedShaderProgram shader, bool lightingPass,
2015-02-04 21:54:40 +00:00
glm::mat4* viewProjcetionMatrix, std::vector<glm::mat4>* additionalMatrices);
2014-10-20 17:09:19 +00:00
private:
Model model;
Material material;
2014-10-20 17:09:19 +00:00
};
#endif