WhirlyGlobe  1.2
A 3D interactive globe toolkit for iOS
AnimateViewMomentum Class Reference

#import <AnimateViewMomentum.h>

Inheritance diagram for AnimateViewMomentum:
<WhirlyGlobeAnimationDelegate>

List of all members.

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

Detailed Description

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.


The documentation for this class was generated from the following file: