• Ian Hickson's avatar
    Code cleanup for physics (#9193) · cf991a34
    Ian Hickson authored
    * Add tolerance argument to FrictionSimulation.
    * Change FrictionSimulation.through to setting tolerance
      via the constructor rather than afterwards.
    * Allow SimulationGroup constructor to take tolerance argument.
    * Add a toString for SpringDescription.
    * Add a toString for SpringSimulation.
    * Push this change to BouncingScrollSimulation.
    cf991a34
spring_simulation.dart 8.91 KB