local count = 0\r
for i = 0, length - 1 do\r
-- Calulate radius for this "height" in the cylinder\r
local count = 0\r
for i = 0, length - 1 do\r
-- Calulate radius for this "height" in the cylinder\r
radius = math.floor(radius + 0.5) -- round\r
local min_radius, max_radius = radius * (radius - 1), radius * (radius + 1)\r
\r
radius = math.floor(radius + 0.5) -- round\r
local min_radius, max_radius = radius * (radius - 1), radius * (radius + 1)\r
\r