X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FPart.hpp;fp=src%2Fmodel%2FPart.hpp;h=8c1db600244e4d4db37685c5abd3f0b1819c59e5;hb=b9a63fedbc65e8659c43f7fa381017c0c70a48da;hp=3e3b57080316942b8c60622614b4cda9f64e80e9;hpb=f430ad789fe620ad2e8b2b2b99af868372791295;p=blank.git diff --git a/src/model/Part.hpp b/src/model/Part.hpp index 3e3b570..8c1db60 100644 --- a/src/model/Part.hpp +++ b/src/model/Part.hpp @@ -41,6 +41,8 @@ public: std::uint16_t Enumerate(std::uint16_t) noexcept; void Index(std::vector &) noexcept; + std::uint16_t ID() const noexcept { return id; } + glm::mat4 LocalTransform(const Instance &) const noexcept; glm::mat4 GlobalTransform(const Instance &) const noexcept;