bluecadet / Cinder-BluecadetViews

Scene graph Cinder block with touch management and various tools for UI dev
MIT License
11 stars 3 forks source link

Initialize TouchManager::mLatestTouchTime to 0 #88

Closed mattfelsen closed 7 years ago

mattfelsen commented 7 years ago

TouchManager::mLatestTouchTime was never initialized, which means on good ol' MSVC it was returning as -nan instead of 0.

Also remove intialization of mDiscardMissedTouches from the header since it's set in the constructor