mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 08:33:00 +00:00
Merge branch 'vortechnix' of https://github.com/sbrl/Minetest-WorldEditAdditions into vortechnix
This commit is contained in:
commit
8be867b2eb
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function worldeditadditions.torus(position, major_radius, minor_radius, target_n
|
||||||
local x_sq = x*x
|
local x_sq = x*x
|
||||||
|
|
||||||
local sq = vector.new(x_sq, y_sq, z_sq)
|
local sq = vector.new(x_sq, y_sq, z_sq)
|
||||||
|
|
||||||
-- Default: xy
|
-- Default: xy
|
||||||
if axes == "xz" then
|
if axes == "xz" then
|
||||||
sq.x, sq.y, sq.z = sq.x, sq.z, sq.y
|
sq.x, sq.y, sq.z = sq.x, sq.z, sq.y
|
||||||
|
|
Loading…
Reference in a new issue