| 149 | } |
| 150 | |
| 151 | unsigned int Tr2MeshBase::FindJoint( const std::string* boneList, const int numBones, const char* name ) const |
| 152 | { |
| 153 | if( boneList && name ) |
| 154 | { |
| 155 | for( int ix = 0; ix < numBones; ++ix ) |
| 156 | { |
| 157 | if( strcmp( name, boneList[ix].c_str() ) == 0 ) |
| 158 | { |
| 159 | return ix; |
| 160 | } |
| 161 | } |
| 162 | } |
| 163 | return 0xffffffff; |
| 164 | } |
| 165 | |
| 166 | bool Tr2MeshBase::BindToRig( const std::string* boneList, const int numBones, TriGeometryResSkeletonData* renderRig, bool forceRebind ) |
| 167 | { |
no outgoing calls
no test coverage detected