mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
remove bone::addBone
This commit is contained in:
parent
6760d16052
commit
587c140a6b
4 changed files with 23 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue