| 57 | }; |
| 58 | |
| 59 | static void ResetPoseMatrixCache(PoseMatrixCache* cache) |
| 60 | { |
| 61 | cache->m_PoseMatrices.SetSize(0); |
| 62 | cache->m_CacheEntryOffsets.SetSize(0); |
| 63 | cache->m_TotalPoseCount = 0; |
| 64 | cache->m_MaxBoneCount = 0; |
| 65 | } |
| 66 | |
| 67 | Result NewContext(const NewContextParams& params, HRigContext* out) |
| 68 | { |