| 121 | } |
| 122 | |
| 123 | static RigPlayer* SwitchPlayer(HRigInstance instance) |
| 124 | { |
| 125 | instance->m_CurrentPlayer = (instance->m_CurrentPlayer + 1) % 2; |
| 126 | return &instance->m_Players[instance->m_CurrentPlayer]; |
| 127 | } |
| 128 | |
| 129 | Result PlayAnimation(HRigInstance instance, dmhash_t animation_id, dmRig::RigPlayback playback, float blend_duration, float offset, float playback_rate) |
| 130 | { |