| 530 | } |
| 531 | static BONE_P_MAP* spGetingMap = NULL; |
| 532 | void CPHShell::build_FromKinematics(IKinematics* K, BONE_P_MAP* p_geting_map) |
| 533 | { |
| 534 | m_pKinematics = K; |
| 535 | spGetingMap = p_geting_map; |
| 536 | // CBoneData& bone_data = m_pKinematics->LL_GetData(0); |
| 537 | if (!m_spliter_holder) |
| 538 | m_spliter_holder = xr_new<CPHShellSplitterHolder>(this); |
| 539 | bool vis_check = false; |
| 540 | AddElementRecursive(0, m_pKinematics->LL_GetBoneRoot(), Fidentity, 0, &vis_check); |
| 541 | // R_ASSERT2((*elements.begin())->numberOfGeoms(),"No physics shapes was assigned for model or no shapes in main root bone!!!"); |
| 542 | // SetCallbacks(BonesCallback); |
| 543 | if (m_spliter_holder->isEmpty()) |
| 544 | ClearBreakInfo(); |
| 545 | } |
| 546 | |
| 547 | void CPHShell::preBuild_FromKinematics(IKinematics* K, BONE_P_MAP* p_geting_map) |
| 548 | { |
no test coverage detected