remove bone::addBone

This commit is contained in:
MihailRis 2026-01-15 23:17:47 +03:00
parent 6760d16052
commit 587c140a6b
4 changed files with 23 additions and 23 deletions

View file

@ -54,8 +54,6 @@ namespace rigging {
const glm::vec3& offset
);
Bone& addBone(Bone&& bone);
void setModel(const std::string& name);
const std::string& getName() const {
@ -70,7 +68,7 @@ namespace rigging {
return offset;
}
const auto& getSubnodes() const {
const auto& getBones() const {
return bones;
}
};
@ -140,7 +138,7 @@ namespace rigging {
return Skeleton(this);
}
Bone* find(std::string_view str) const;
const Bone* find(std::string_view str) const;
static std::unique_ptr<SkeletonConfig> parse(
std::string_view src, std::string_view file, std::string_view name