Increase the simulation epsilon
We don't need to compute simulations out to that many decimal places because we're working in pixels. R=chinmaygarde@google.com
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
part of newton;
|
||||
|
||||
const double _simulationEpsilon = 0.01;
|
||||
const double _simulationEpsilon = 0.2;
|
||||
|
||||
bool _nearEqual(double a, double b) =>
|
||||
(a > (b - _simulationEpsilon)) && (a < (b + _simulationEpsilon));
|
||||
|
||||
Reference in New Issue
Block a user