Also memset.

This commit is contained in:
Henrik Rydgard 2017-05-04 08:57:06 +02:00
parent fb95288456
commit 9284ea8375

View File

@ -10,6 +10,7 @@
const float estimatedInertiaDamping = 0.75f;
GestureDetector::GestureDetector() {
memset(pointers, 0, sizeof(pointers));
}
TouchInput GestureDetector::Update(const TouchInput &touch, const Bounds &bounds) {