![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#import <AnimateViewMomentum.h>
Public Member Functions | |
(id) | - initWithView:velocity:accel:axis: |
Initialize with an angular velocity and a negative acceleration (to slow down) | |
Protected Attributes | |
float | velocity |
float | acceleration |
Eigen::Quaternionf | startQuat |
Eigen::Vector3f | axis |
float | maxTime |
NSDate * | startDate |
Animate View Momentum is a WhirlyGlobe Animation Delegate that will animate from a starting point forward in time with an acceleration. Basically, we use this to simulate momentum. We might assign it after a tap and drag is finished.