small typo fix

This commit is contained in:
Ryan Cole 2014-03-17 20:53:46 +13:00
parent 6bb4ba0e24
commit f46176716d

View File

@ -247,7 +247,7 @@ end
function CircleShape:intersectsRay(x,y, dx,dy)
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)
end
return tmin ~= math_huge, tmin