AnalyticalGraphicsInc/cesium — pull request #327 by emackey (2012-11-12 18:27:35+00:00)
Title: Pinch-zoom for touch screens

This pull request adds a new type of input, a two-finger touch input called "pinch". There are three degrees of freedom:

* Pinch-zoom: The distance between the two touches are used for zooming, when available (similar to dragging the right mouse button vertically).
* Pinch-tilt: The screen-space Y coordinate of the center point between two touches is used for tilting, when available (similar to dragging the middle mouse button vertically).
* Pinch-twist: The rotation angle of the two points is used for rotating, when available (similar to dragging the middle mouse button horizontally).

The inertia stuff is probably not hooked up right, maybe @bagnell can take a look. It's hard to see inertia given the poor performance of my tablet recently.