| 418 | } |
| 419 | |
| 420 | static MorphWeightSlot* GetMorphWeightSlot(RigInstance* instance, uint64_t model_id) |
| 421 | { |
| 422 | for (uint32_t i = 0; i < instance->m_MorphSlots.Size(); ++i) |
| 423 | { |
| 424 | if (instance->m_MorphSlots[i].m_ModelId == model_id) |
| 425 | { |
| 426 | return &instance->m_MorphSlots[i]; |
| 427 | } |
| 428 | } |
| 429 | return 0x0; |
| 430 | } |
| 431 | |
| 432 | static void ResetMorphWeights(RigInstance* instance) |
| 433 | { |
no test coverage detected