Beispiel #1
0
 public RotationController(Globe globe, DispatcherTimer timer)
 {
     _easeOutController = new EaseOutRotationController(globe);
     _mouseController   = new MouseRotationController(globe);
     _slerpController   = new SlerpController(globe);
     _slerpController.SlerpCompleted += Slerp_Completed;
     _timer = timer;
 }
Beispiel #2
0
 public MouseRotationController(Globe globe)
 {
     _globe            = globe;
     _mouseEventSource = (FrameworkElement)Application.Current.RootVisual;
 }
Beispiel #3
0
 public SlerpController(Globe globe)
 {
     _globe = globe;
 }
Beispiel #4
0
 public EaseOutRotationController(Globe globe)
 {
     _globe = globe;
 }