MCPcopy Create free account
hub / github.com/defold/defold / GetSecondaryPlayer

Function GetSecondaryPlayer

engine/rig/src/rig.cpp:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 static RigPlayer* GetSecondaryPlayer(HRigInstance instance)
119 {
120 return &instance->m_Players[(instance->m_CurrentPlayer+1) % 2];
121 }
122
123 static RigPlayer* SwitchPlayer(HRigInstance instance)
124 {

Callers 1

UpdateBlendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected