| 578 | } |
| 579 | |
| 580 | void xModelAnimCollRefresh(const xModelInstance& cm) |
| 581 | { |
| 582 | xModelInstance& m = (xModelInstance&)cm; |
| 583 | U32 size = iModelVertCount(m.Data); |
| 584 | xMat4x3& mat = *(xMat4x3*)m.Mat; |
| 585 | xMat4x3 old_mat = mat; |
| 586 | |
| 587 | mat = g_I3; |
| 588 | iModelVertEval(m.Data, 0, size, m.Mat, NULL, m.anim_coll.verts); |
| 589 | mat = old_mat; |
| 590 | |
| 591 | m.Flags |= 0x1000; |
| 592 | } |
| 593 | |
| 594 | xVec3 xModelGetBoneLocation(const xModelInstance& model, size_t index) |
| 595 | { |
no test coverage detected