- const glm::quat &Orientation() const noexcept { return orientation; }
- void Orientation(const glm::quat &o) noexcept { orientation = o; }
-
- bool HasNodeMesh() const noexcept { return node_mesh; }
- void SetNodeMesh(const EntityMesh *m) noexcept { node_mesh = m; }
-
- const EntityMesh &NodeMesh() const noexcept { return *node_mesh; }
-
- Model &AddPart();
- bool HasParent() const noexcept { return parent; }
- Model &Parent() const noexcept { return *parent; }
- bool IsRoot() const noexcept { return !HasParent(); }
-
- glm::mat4 LocalTransform() const noexcept;
- glm::mat4 GlobalTransform() const noexcept;
+ void SetEyes(std::uint16_t id) { eyes_id = id; }
+ const Part &GetEyesPart() const noexcept { return GetPart(eyes_id); }