| 321 | } // namespace FZX |
| 322 | |
| 323 | static int GetChainMember(const std::vector<int> &parents, int tip, int depth) { |
| 324 | int bone = tip; |
| 325 | for (int i = 0; i < depth; ++i) { |
| 326 | bone = parents[bone]; |
| 327 | } |
| 328 | return bone; |
| 329 | } |
| 330 | |
| 331 | enum ShapeType { NONE, |
| 332 | SPHERE, |