Пример #1
0
 Touch * RenderingEngine::GetTouchForSystemTouch(const void *pSystemTouch) const {
     for (int touchIndex = 0; touchIndex < m_touches->size(); touchIndex++) {
         Touch *touch = m_touches->at(touchIndex);
         if (touch->GetSystemTouch() == pSystemTouch) {
             return touch;
         }
     }
     
     return nullptr;
 }