- glm::mat4 LocalTransform() const noexcept;
- glm::mat4 GlobalTransform() const noexcept;
-
- void Render(const glm::mat4 &, DirectionalLighting &) const;
-
-private:
- Instance &AddPart();
- bool HasParent() const noexcept { return parent; }
- Instance &Parent() const noexcept { return *parent; }
- bool IsRoot() const noexcept { return !HasParent(); }