Skip to content

Commit

Permalink
Fix AABB query coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
jes committed Apr 29, 2024
1 parent 2191710 commit fe9f0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/world/aabb-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ all of the associated bodies.
```js
const query = new AABB(
new Vec2(-1, -1),
new Vec2(-1, -1),
new Vec2(1, 1),
);
myWorld.queryAABB(query, function(fixture) {
let body = fixture.getBody();
Expand Down

0 comments on commit fe9f0cf

Please sign in to comment.