Fixed indentation in torus

This commit is contained in:
VorTechnix 2021-06-25 11:53:23 -07:00 committed by GitHub
parent fc8f76b9dc
commit 92c7d0447a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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