mirror of
https://github.com/HybridDog/vector_extras.git
synced 2024-11-26 17:33:50 +01:00
update
This commit is contained in:
parent
0f8ccaefb0
commit
8563a67478
6
init.lua
6
init.lua
@ -284,3 +284,9 @@ function vector.ring(r)
|
||||
print(string.format("[vector_extras] table created after ca. %.2fs", os.clock() - t1))
|
||||
return tab2
|
||||
end
|
||||
|
||||
function vector.chunkcorner(pos)
|
||||
return {x=pos.x-pos.x%16, y=pos.y-pos.y%16, z=pos.z-pos.z%16}
|
||||
end
|
||||
|
||||
vector.zero = {x=0, y=0, z=0}
|
||||
|
Loading…
Reference in New Issue
Block a user