]> git.localhorst.tv Git - blank.git/blobdiff - src/model/CompositeInstance.hpp
send entity visual from server to client
[blank.git] / src / model / CompositeInstance.hpp
index 7d48b76e73fffe7c837c2184b92aff1bed5e471c..4b6cfb520aaeb52d450087a7fd0374d5b22636a9 100644 (file)
@@ -21,6 +21,7 @@ public:
        CompositeInstance();
 
        operator bool() const noexcept { return part_model; }
+       const CompositeModel &GetModel() const noexcept { return *part_model; }
 
        const glm::vec3 &Position() const noexcept { return position; }
        void Position(const glm::vec3 &p) noexcept { position = p; }