private static void ThetaDivPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { SphereModel s = (SphereModel)d; s.InvalidateModel(); }
private static void ModelPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { SphereModel s = (SphereModel)d; s.Visual3DModel = (Model3D)e.NewValue; }