1
0
mirror of https://github.com/HybridDog/vector_extras.git synced 2024-09-27 23:00:35 +02:00

automatic update

This commit is contained in:
HybridDog 2015-03-07 16:02:28 +01:00
parent 052a995875
commit 622e644cfd

View File

@ -241,7 +241,7 @@ function vector.sun_dir(time)
end
function vector.inside(pos, minp, maxp)
for _,i in ipairs({"x", "y", "z"}) do
for _,i in pairs({"x", "y", "z"}) do
if pos[i] < minp[i]
or pos[i] > maxp[i] then
return false