X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FInstance.hpp;h=80c8f710fd14e7a0f60988a2fc6b0b73122a1110;hb=0d580658b896dfec07466c31ae4847455724ee95;hp=8b94bcd8c20ac0fc6a53de887201ecd5fa5b2748;hpb=7e782291e0ce39eb2d4e8c1df28f682c313e6f8d;p=blank.git diff --git a/src/model/Instance.hpp b/src/model/Instance.hpp index 8b94bcd..80c8f71 100644 --- a/src/model/Instance.hpp +++ b/src/model/Instance.hpp @@ -26,6 +26,12 @@ 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; + void Render(const glm::mat4 &, DirectionalLighting &); private: