]> git.localhorst.tv Git - blank.git/blobdiff - src/model/Part.hpp
apply pitch to head instead of body
[blank.git] / src / model / Part.hpp
index 3e3b57080316942b8c60622614b4cda9f64e80e9..8c1db600244e4d4db37685c5abd3f0b1819c59e5 100644 (file)
@@ -41,6 +41,8 @@ public:
        std::uint16_t Enumerate(std::uint16_t) noexcept;
        void Index(std::vector<Part *> &) noexcept;
 
+       std::uint16_t ID() const noexcept { return id; }
+
        glm::mat4 LocalTransform(const Instance &) const noexcept;
        glm::mat4 GlobalTransform(const Instance &) const noexcept;