Commit 87ab798d authored by Adam Barth's avatar Adam Barth

Move ClampedSimulation into newton

ClampedSimulation makes more sense at the newton layer because it's dealing
entirely with newton concepts.
parent ecb72f97
...@@ -10,7 +10,6 @@ library animation; ...@@ -10,7 +10,6 @@ library animation;
export 'src/animation/animation.dart'; export 'src/animation/animation.dart';
export 'src/animation/animation_controller.dart'; export 'src/animation/animation_controller.dart';
export 'src/animation/animations.dart'; export 'src/animation/animations.dart';
export 'src/animation/clamped_simulation.dart';
export 'src/animation/curves.dart'; export 'src/animation/curves.dart';
export 'src/animation/forces.dart'; export 'src/animation/forces.dart';
export 'src/animation/listener_helpers.dart'; export 'src/animation/listener_helpers.dart';
......
// 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 // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -12,6 +12,7 @@ part 'src/simulation_group.dart'; ...@@ -12,6 +12,7 @@ part 'src/simulation_group.dart';
part 'src/tolerance.dart'; part 'src/tolerance.dart';
part 'src/utils.dart'; part 'src/utils.dart';
part 'src/clamped_simulation.dart';
part 'src/friction_simulation.dart'; part 'src/friction_simulation.dart';
part 'src/gravity_simulation.dart'; part 'src/gravity_simulation.dart';
part 'src/scroll_simulation.dart'; part 'src/scroll_simulation.dart';
......
// 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 // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'package:newton/newton.dart'; part of newton;
class ClampedSimulation extends Simulation { class ClampedSimulation extends Simulation {
ClampedSimulation(this.simulation, { ClampedSimulation(this.simulation, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment