MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetChainMember

Function GetChainMember

Source/Graphics/skeleton.cpp:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321} // namespace FZX
322
323static 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
331enum ShapeType { NONE,
332 SPHERE,

Callers 1

ShapesFromFZXFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected