| 710 | } |
| 711 | |
| 712 | static void PoseToMatrix(const dmArray<BonePose>& pose, Matrix4* out_matrices) |
| 713 | { |
| 714 | uint32_t bone_count = pose.Size(); |
| 715 | for (uint32_t bi = 0; bi < bone_count; ++bi) |
| 716 | { |
| 717 | out_matrices[bi] = dmTransform::ToMatrix4(pose[bi].m_World); |
| 718 | } |
| 719 | } |
| 720 | |
| 721 | static void CommitPoseMatrixToCache(HRigContext context, HRigInstance instance) |
| 722 | { |
no test coverage detected