1
0
mirror of https://github.com/HybridDog/vector_extras.git synced 2025-06-30 15:20:22 +02:00
This commit is contained in:
HybridDog
2015-05-29 12:09:25 +02:00
parent 55fd22890b
commit 95a528221c
2 changed files with 4 additions and 4 deletions

View File

@ -381,7 +381,7 @@ function funcs.explosion_table(r)
for x=-r,r do
for y=-r,r do
for z=-r,r do
local rc = x*x+y*y+z*z
local rc = x*x+y*y+z*z
if rc <= tmp then
local np={x=x, y=y, z=z}
if math.floor(math.sqrt(rc) +0.5) > r-1 then