]> git.localhorst.tv Git - blank.git/blobdiff - src/model/model.cpp
apply pitch to head instead of body
[blank.git] / src / model / model.cpp
index 451433bc7e8296d38b37c551883598553ab13248..cad62ac2ec0cea30c99e39685adbef0729b6f3a8 100644 (file)
@@ -27,6 +27,10 @@ Instance::~Instance() {
 
 }
 
+Part::State &Instance::EyesState() noexcept {
+       return state[model->GetEyesPart().ID()];
+}
+
 glm::mat4 Instance::EyesTransform() const noexcept {
        return model->GetEyesPart().GlobalTransform(*this);
 }