Gems/EMotionFX/Code/EMotionFX/Source/MotionSystem.cpp
void MotionSystem::AddMotionQueue(MotionQueue* motionQueue)
    {
        MCORE_ASSERT(motionQueue);

        // copy entries from the given queue to the motion system's one
        for (size_t i = 0; i < motionQueue->GetNumEntries(); ++i)
        {
            m_motionQueue->AddEntry(motionQueue->GetEntry(i));
        }

        // get rid of the given motion queue
        motionQueue->Destroy();
    }
// add a motion queue to the motion system
add a motion queue to the motion system
add a motion queue to the motion system
void MotionSystem::AddMotionQueue(MotionQueue* motionQueue)
    {
        MCORE_ASSERT(motionQueue);
        for (size_t i = 0; i < motionQueue->GetNumEntries(); ++i)
        {
            m_motionQueue->AddEntry(motionQueue->GetEntry(i));
        }
        motionQueue->Destroy();
    }
void MotionSystem :: AddMotionQueue ( MotionQueue * motionQueue ) { MCORE_ASSERT ( motionQueue ) ; for ( size_t i = 0 ; i < motionQueue -> GetNumEntries ( ) ; ++ i ) { m_motionQueue -> AddEntry ( motionQueue -> GetEntry ( i ) ) ; } motionQueue -> Destroy ( ) ; }
add a motion queue to the motion system
add a motion queue to the motion system
// copy entries from the given queue to the motion system's one // get rid of the given motion queue