Removed unnecessary parenthesis.

This commit is contained in:
NathanSweet 2016-11-15 02:25:34 +01:00
parent f05174fcb8
commit b80306cd6e

View File

@ -467,8 +467,8 @@ public class Bone implements Updatable {
public Vector2 worldToLocal (Vector2 world) {
float invDet = 1 / (a * d - b * c);
float x = world.x - worldX, y = world.y - worldY;
world.x = (x * d * invDet - y * b * invDet);
world.y = (y * a * invDet - x * c * invDet);
world.x = x * d * invDet - y * b * invDet;
world.y = y * a * invDet - x * c * invDet;
return world;
}