MCPcopy Create free account
hub / github.com/carbonengine/trinity / AddAllBones

Method AddAllBones

trinity/Tr2GrannyAnimationLayer.cpp:937–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935
936
937void Tr2GrannyAnimationLayer::AddAllBones( const Tr2GrannyAnimation* grannyAnimation )
938{
939 CCP_ASSERT( grannyAnimation->IsUsingCMF() == m_useCMF );
940
941 unsigned int bone_count;
942 const std::string* boneList = grannyAnimation->GetAnimationBoneList( bone_count );
943 for( unsigned int i = 0; i < bone_count; i++ )
944 {
945 AddBone( grannyAnimation, boneList[i].c_str() );
946 }
947}
948
949
950

Callers 1

Calls 2

IsUsingCMFMethod · 0.45
GetAnimationBoneListMethod · 0.45

Tested by

no test coverage detected