mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
update component parent environment to the pack environment
This commit is contained in:
parent
3fe66e134d
commit
0082a3444e
4 changed files with 27 additions and 32 deletions
|
|
@ -73,6 +73,13 @@ namespace rigging {
|
|||
class RigConfig {
|
||||
std::unique_ptr<RigNode> root;
|
||||
std::unordered_map<std::string, size_t> indices;
|
||||
|
||||
/// Nodes and indices are ordered from root to subnodes.
|
||||
/// Example:
|
||||
/// 0 - root
|
||||
/// 1 --- sub1
|
||||
/// 2 ----- subsub1
|
||||
/// 3 --- sub2
|
||||
std::vector<RigNode*> nodes;
|
||||
|
||||
size_t update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue