Move ClampedSimulation into newton
ClampedSimulation makes more sense at the newton layer because it's dealing entirely with newton concepts.
This commit is contained in:
@@ -10,7 +10,6 @@ library animation;
|
||||
export 'src/animation/animation.dart';
|
||||
export 'src/animation/animation_controller.dart';
|
||||
export 'src/animation/animations.dart';
|
||||
export 'src/animation/clamped_simulation.dart';
|
||||
export 'src/animation/curves.dart';
|
||||
export 'src/animation/forces.dart';
|
||||
export 'src/animation/listener_helpers.dart';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@@ -12,6 +12,7 @@ part 'src/simulation_group.dart';
|
||||
part 'src/tolerance.dart';
|
||||
part 'src/utils.dart';
|
||||
|
||||
part 'src/clamped_simulation.dart';
|
||||
part 'src/friction_simulation.dart';
|
||||
part 'src/gravity_simulation.dart';
|
||||
part 'src/scroll_simulation.dart';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:newton/newton.dart';
|
||||
part of newton;
|
||||
|
||||
class ClampedSimulation extends Simulation {
|
||||
ClampedSimulation(this.simulation, {
|
||||
Reference in New Issue
Block a user