refactor: removed unnecessary verbose multiplication

Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
pull/15/head
Alejandro Santiago 4 years ago committed by GitHub
parent cbaad49b5a
commit 193f52f766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -226,7 +226,7 @@ class FlipperAnchorRevoluteJointDef extends RevoluteJointDef {
late final double upperLimit, lowerLimit;
switch (side) {
case BoardSide.left:
lowerLimit = joint.lowerLimit * -1;
lowerLimit = -joint.lowerLimit;
upperLimit = joint.upperLimit;
break;
case BoardSide.right:

Loading…
Cancel
Save