Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: lib/src/dynamics/contacts/contact.dart

Issue 1138063003: pkg/box2d: 0.2.0 release (Closed) Base URL: https://github.com/google/dbox2d.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/collision/shapes/polygon_shape.dart ('k') | lib/src/dynamics/contacts/contact_solver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/dynamics/contacts/contact.dart
diff --git a/lib/src/dynamics/contacts/contact.dart b/lib/src/dynamics/contacts/contact.dart
index 5c1bebfec6050711de6a2f647969d3b0d3edbac6..1585268e86bdfe51842d7fbaf16b872d2366519f 100644
--- a/lib/src/dynamics/contacts/contact.dart
+++ b/lib/src/dynamics/contacts/contact.dart
@@ -184,13 +184,12 @@ abstract class Contact {
}
void resetFriction() {
- _friction =
- Contact.mixFriction(_fixtureA._friction, _fixtureB._friction);
+ _friction = Contact.mixFriction(_fixtureA._friction, _fixtureB._friction);
}
void resetRestitution() {
- _restitution = Contact.mixRestitution(
- _fixtureA._restitution, _fixtureB._restitution);
+ _restitution =
+ Contact.mixRestitution(_fixtureA._restitution, _fixtureB._restitution);
}
void evaluate(Manifold manifold, Transform xfA, Transform xfB);
« no previous file with comments | « lib/src/collision/shapes/polygon_shape.dart ('k') | lib/src/dynamics/contacts/contact_solver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698