X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FInstance.hpp;fp=src%2Fmodel%2FInstance.hpp;h=8b94bcd8c20ac0fc6a53de887201ecd5fa5b2748;hb=7e782291e0ce39eb2d4e8c1df28f682c313e6f8d;hp=60c0212793e132934cf2e2c808c05835ec6868a0;hpb=a26ca06878d45d3ce77cbc28b574f2553e121944;p=blank.git diff --git a/src/model/Instance.hpp b/src/model/Instance.hpp index 60c0212..8b94bcd 100644 --- a/src/model/Instance.hpp +++ b/src/model/Instance.hpp @@ -3,7 +3,6 @@ #include "Part.hpp" -#include #include #include #include @@ -12,7 +11,6 @@ namespace blank { class DirectionalLighting; -class EntityMesh; class Model; class Part; @@ -25,26 +23,14 @@ public: Instance(); ~Instance(); - Instance(const Instance &); - Instance &operator =(const Instance &); - operator bool() const noexcept { return model; } const Model &GetModel() const noexcept { return *model; } void Render(const glm::mat4 &, DirectionalLighting &); - void SetTextures(const std::vector &t); - void SetHSLModifier(const glm::vec3 &m); - void SetRGBModifier(const glm::vec3 &m); - private: const Model *model; std::vector state; - std::vector> mesh; - - std::vector tex_map; - glm::vec3 hsl_mod; - glm::vec3 rgb_mod; };