mirror of
https://github.com/HybridDog/vector_extras.git
synced 2025-01-09 01:30:17 +01:00
automatic update
This commit is contained in:
parent
052a995875
commit
622e644cfd
2
init.lua
2
init.lua
@ -241,7 +241,7 @@ function vector.sun_dir(time)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function vector.inside(pos, minp, maxp)
|
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]
|
if pos[i] < minp[i]
|
||||||
or pos[i] > maxp[i] then
|
or pos[i] > maxp[i] then
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user