This commit is contained in:
Schluffe
2026-02-16 23:30:35 +01:00
parent 31901f53f7
commit 966e83076f
2 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ export function drawAABB(
ctx.save();
ctx.strokeStyle = color;
ctx.strokeRect(
Math.round(aabb.position.x) - 0.5,
Math.round(aabb.position.y) - 0.5,
aabb.position.x - 0.5,
aabb.position.y - 0.5,
aabb.width,
aabb.height,
);