1 #ifndef BLANK_MODEL_INSTANCE_HPP_
2 #define BLANK_MODEL_INSTANCE_HPP_
5 #include "../graphics/glm.hpp"
8 #include <glm/gtc/quaternion.hpp>
13 class DirectionalLighting;
26 operator bool() const noexcept { return model; }
27 const Model &GetModel() const noexcept { return *model; }
29 glm::mat4 BodyTransform() const noexcept;
30 Part::State &BodyState() noexcept;
32 glm::mat4 EyesTransform() const noexcept;
33 Part::State &EyesState() noexcept;
35 void Render(const glm::mat4 &, DirectionalLighting &);
39 std::vector<Part::State> state;