Saxum/object.hh

26 lines
655 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);
Object();
~Object();
void render(ACGL::OpenGL::SharedShaderProgram shader, bool lightingPass,
glm::mat4* viewProjcetionMatrix, std::vector<glm::mat4>* shadowVPs);
private:
Model model;
Material material;
};
#endif