mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Removed unnecessary parenthesis.
This commit is contained in:
parent
f05174fcb8
commit
b80306cd6e
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user