//----------------------------------- void CBlendGroup::Reset() { TJobVector::iterator it, end = m_jobs.end(); for(it = m_jobs.begin(); it != end; ++it) { CBlendJobNode *pNode = *it; pNode->ResetBlendJob(); } }
//---------------------------------------- void CBlendGroup::Update(float frameTime) { TJobVector::iterator it, end=m_jobs.end(); for(it=m_jobs.begin();it!=end;++it) { CBlendJobNode *pNode = *it; if(!pNode->IsFree()) { pNode->Update(frameTime); if(pNode->Done()) pNode->ResetBlendJob(); } } }