|
WhirlyGlobe
1.1
A 3D interactive globe toolkit for ios
|
#import <PanDelegate.h>
Static Public Member Functions | |
| (WhirlyGlobePanDelegate *) | + panDelegateForView:globeView: |
Protected Attributes | |
| WhirlyGlobeView * | view |
| BOOL | panning |
| Set if we're in the process of panning. | |
| Eigen::Affine3f | startTransform |
| The view transform when we started. | |
| Point3f | startOnSphere |
| Where we first touched the sphere. | |
| Eigen::Quaternionf | startQuat |
| Rotation when we started. | |
Pan the globe by following a tap and drag. This will pan using quaternions and so avoid gimbal lock.
| + (WhirlyGlobePanDelegate *) panDelegateForView: | (UIView *) | view | |
| globeView: | (WhirlyGlobeView *) | globeView | |
Creates a pan gesture delegate and wires it up to the given view. Will modify the globe view.