mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add skeleton:index(...) and player test model
This commit is contained in:
parent
e8e3626c63
commit
055781eeaf
11 changed files with 148 additions and 23 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue