mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 06:04:35 +00:00
rephrase empty if to make the silly linter happy
This commit is contained in:
parent
8c1e51b057
commit
2c6b5bd2ea
@ -262,9 +262,7 @@ function intersect.line_line_collide(a_start, a_end, a_rad, b_start, b_end, b_ra
|
||||
local best_len = nil
|
||||
for _, v in ipairs(search_tab) do
|
||||
local delta = v[1]
|
||||
if delta.x == math.huge then
|
||||
--skip
|
||||
else
|
||||
if delta.x ~= math.huge then
|
||||
local len = delta:length_squared()
|
||||
if len < (best_len or math.huge) then
|
||||
best = v
|
||||
|
Loading…
Reference in New Issue
Block a user