JakeWharton / scalpel

A surgical debugging tool to uncover the layers under your app.
Apache License 2.0
2.76k stars 231 forks source link

Fix multitouch. #1

Closed SimonVT closed 10 years ago

SimonVT commented 10 years ago

No need to iterate through all pointers when we know only two of them matters. The sign of dy/dx for each pointer also changes based on where the other pointer is relative to it.