fix small math error

This commit is contained in:
2026-06-15 01:23:12 -07:00
parent 84c05a9d2e
commit 3ec1c6a227
+1 -1
View File
@@ -51,7 +51,7 @@ rects_overlap :: proc(
footprint_center :: proc(gx, gy, footprint_w, footprint_h: int) -> Vec2 {
return Vec2 {
f32(gx * TILE_SIZE + (footprint_w * TILE_SIZE) / 2),
f32(gy * TILE_SIZE + (footprint_h + TILE_SIZE) / 2),
f32(gy * TILE_SIZE + (footprint_h * TILE_SIZE) / 2),
}
}