Saxum/object.hh
Fabian Klemp 599c849bb0 Merge branch 'debug-shadows'
Conflicts:
	graphics.cc
	graphics.hh
	object.cc
2015-02-13 16:02:12 +01:00

27 lines
706 B
C++

#ifndef OBJECT_HH_INCLUDED
#define OBJECT_HH_INCLUDED
#include "entity.hh"
#include "model.hh"
#include "material.hh"
#include <string>
#include <ACGL/Math/Math.hh>
#include <ACGL/OpenGL/Managers.hh>
#include <ACGL/OpenGL/Objects.hh>
class Object : public Entity {
public:
Object(Model model, Material material,
glm::vec3 position, glm::vec3 rotation, bool renderable);
Object();
~Object();
void render(ACGL::OpenGL::SharedShaderProgram shader, bool lightingPass,
glm::mat4* viewProjcetionMatrix, std::vector<glm::mat4>* additionalMatrices);
private:
Model model;
Material material;
bool renderable;
};
#endif