We now have to show how the muscles turn the leg. At this point we apply a major simplification by just showing a pair of muscles that control whether the leg and foot turns left or right relative to the hip.
We simplify the action by focusing on the hip joint, and by ignoring any muscles needed to keep the knee straight or to hold the ankle. We also ignore musles required for balancing, etc.