mirror of
https://github.com/vrld/HC.git
synced 2024-11-18 12:54:23 +00:00
small typo fix
This commit is contained in:
parent
6bb4ba0e24
commit
f46176716d
@ -247,7 +247,7 @@ end
|
|||||||
|
|
||||||
function CircleShape:intersectsRay(x,y, dx,dy)
|
function CircleShape:intersectsRay(x,y, dx,dy)
|
||||||
local tmin = math_huge
|
local tmin = math_huge
|
||||||
for _, t in ipaits(self:intersectionsWithRay(x,y,dx,dy)) do
|
for _, t in ipairs(self:intersectionsWithRay(x,y,dx,dy)) do
|
||||||
tmin = math_min(t, tmin)
|
tmin = math_min(t, tmin)
|
||||||
end
|
end
|
||||||
return tmin ~= math_huge, tmin
|
return tmin ~= math_huge, tmin
|
||||||
|
Loading…
Reference in New Issue
Block a user