| 95 | } |
| 96 | |
| 97 | void refresh(xEnt& ent) |
| 98 | { |
| 99 | xEnt::anim_coll_data& ac = *ent.anim_coll; |
| 100 | xMat4x3& bone_mat = *(xMat4x3*)(ent.model->Mat + 1); |
| 101 | |
| 102 | xMat4x3Mul((xMat4x3*)ent.model->Mat, &bone_mat, &ac.old_mat); |
| 103 | |
| 104 | ac.new_mat = bone_mat; |
| 105 | bone_mat = g_I3; |
| 106 | } |
| 107 | |
| 108 | void pre_move(xEnt& ent); |
| 109 | void post_move(xEnt& ent); |
no test coverage detected