1 #ifndef BLANK_MODEL_INSTANCE_HPP_
2 #define BLANK_MODEL_INSTANCE_HPP_
9 #include <glm/gtc/quaternion.hpp>
14 class DirectionalLighting;
28 Instance(const Instance &);
29 Instance &operator =(const Instance &);
31 operator bool() const noexcept { return model; }
32 const Model &GetModel() const noexcept { return *model; }
34 void Render(const glm::mat4 &, DirectionalLighting &);
36 void SetTextures(const std::vector<float> &t);
37 void SetHSLModifier(const glm::vec3 &m);
38 void SetRGBModifier(const glm::vec3 &m);
42 std::vector<Part::State> state;
43 std::vector<std::unique_ptr<EntityMesh>> mesh;
45 std::vector<float> tex_map;