add skeleton:index(...) and player test model

This commit is contained in:
MihailRis
2024-07-15 08:56:27 +03:00
parent e8e3626c63
commit 055781eeaf
11 changed files with 148 additions and 23 deletions
+6
View File
@@ -46,6 +46,10 @@ namespace rigging {
void refreshModel(const Assets* assets);
const std::string& getName() const {
return name;
}
const std::string& getModelName() const {
return modelName;
}
@@ -105,6 +109,8 @@ namespace rigging {
};
}
Bone* find(std::string_view str) const;
static std::unique_ptr<SkeletonConfig> parse(
std::string_view src,
std::string_view file,