/// \brief /// Creates a new child bone and returns a reference to it (same as implicitly adding a new bone) /// /// \return /// Reference to newly created child bone inline VGBone& CreateChildBone() { AddChildBone(VGBone()); return GetChildBone(GetNumChildBones()-1); }
/// \brief /// Creates a new root bone and returns a reference to it (same as implicitly adding a new bone) /// /// \return /// Reference to newly added root bone inline VGBone& CreateRootBone() { AddRootBone(VGBone()); return GetRootBone(GetNumRootBones()-1); }