X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FInstance.hpp;h=60e195087099fbfe8f28493d326a2680fdd3355a;hb=19f61f6eb14b532e41a81ea850c36723d8bd9930;hp=0c828393675cb50f6e175510cfacfd6592a083be;hpb=b9a63fedbc65e8659c43f7fa381017c0c70a48da;p=blank.git diff --git a/src/model/Instance.hpp b/src/model/Instance.hpp index 0c82839..60e1950 100644 --- a/src/model/Instance.hpp +++ b/src/model/Instance.hpp @@ -2,9 +2,9 @@ #define BLANK_MODEL_INSTANCE_HPP_ #include "Part.hpp" +#include "../graphics/glm.hpp" #include -#include #include @@ -26,6 +26,9 @@ public: operator bool() const noexcept { return model; } const Model &GetModel() const noexcept { return *model; } + glm::mat4 BodyTransform() const noexcept; + Part::State &BodyState() noexcept; + glm::mat4 EyesTransform() const noexcept; Part::State &EyesState() noexcept;