Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Jan 27, 2024
1 parent d2af437 commit b555762
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/sim/NavUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1110,14 +1110,12 @@ function GetPositionsInRadius(layer, position, distance, thresholdSize, cache)

-- see if the section exists in the layer/grid that we're interested in
if FindSection(grid, sectionCenter) then
DrawCircle(sectionCenter, 10, 'ff0000')
cache[head] = sectionCenter
head = head + 1
end
end

-- clear up remainder of the cache
LOG(head, TableGetn(cache))
for k = head, TableGetn(cache) do
cache[k] = nil
end
Expand Down

0 comments on commit b555762

Please sign in to comment.