X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FPart.hpp;h=97743469a85aba210d12d9048a650e2ed6d39f86;hb=e4a1425dccd0ba9b106e415dd02809f4308a85ee;hp=3e3b57080316942b8c60622614b4cda9f64e80e9;hpb=9c5308ba4108bd842af6d9d2e893ea575a7e6ca8;p=blank.git diff --git a/src/model/Part.hpp b/src/model/Part.hpp index 3e3b570..9774346 100644 --- a/src/model/Part.hpp +++ b/src/model/Part.hpp @@ -1,8 +1,6 @@ #ifndef BLAMK_MODEL_PART_HPP_ #define BLAMK_MODEL_PART_HPP_ -#include "geometry.hpp" - #include #include #include @@ -41,6 +39,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;