mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-10-31 21:33:02 +00:00
//revolve: try :round() instead of :floor()
not sure if ti helps or not tho
This commit is contained in:
parent
1d53233621
commit
558fc1c04b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function worldeditadditions.revolve(pos1, pos2, origin, times)
|
|||
-- rotate on Z axis only, convert 0..1 → radians
|
||||
-- TEST on Y axis, 'cause I'm confused
|
||||
Vector3.new(0, rotation * math.pi * 2, 0)
|
||||
):floor()
|
||||
):round()
|
||||
|
||||
local i_target = area_target:index(pos_target.x, pos_target.y, pos_target.z)
|
||||
|
||||
|
|
Loading…
Reference in a new issue