mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 00:53:00 +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
|
-- rotate on Z axis only, convert 0..1 → radians
|
||||||
-- TEST on Y axis, 'cause I'm confused
|
-- TEST on Y axis, 'cause I'm confused
|
||||||
Vector3.new(0, rotation * math.pi * 2, 0)
|
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)
|
local i_target = area_target:index(pos_target.x, pos_target.y, pos_target.z)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue