From fe9f0cf645f25802790ea4e601bd341552e53928 Mon Sep 17 00:00:00 2001 From: James Stanley Date: Mon, 29 Apr 2024 22:03:11 +0100 Subject: [PATCH] Fix AABB query coordinates --- docs/pages/world/aabb-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/world/aabb-query.md b/docs/pages/world/aabb-query.md index 489a183b..ff5612ff 100644 --- a/docs/pages/world/aabb-query.md +++ b/docs/pages/world/aabb-query.md @@ -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();