diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-12-21 15:46:30 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-12-21 17:45:51 -0600 |
| commit | a06622361d858c4d9c78c15323fc0d0e17e94110 (patch) | |
| tree | 52aa25c53874a4c597cf0cab0824c9ed9ccb7bcb /world.lua | |
| parent | 619c46c37731df55bd2f50b7bb126c016734796e (diff) | |
collision detection and correction
Diffstat (limited to 'world.lua')
| -rw-r--r-- | world.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ function world.all() end) end -function world.iterate(x1, y1, x2, y2) +function world.in_box(x1, y1, x2, y2) return coroutine.wrap(function() for x = x1, x2 + world.chunk_size, world.chunk_size do for y = y1, y2 + world.chunk_size, world.chunk_size do |
