mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-05 15:05:57 +02:00
Remove unused code.
This commit is contained in:
parent
fa6f70c235
commit
835e3064c4
@ -1531,9 +1531,8 @@ end
|
||||
function Builders.ring_weighted_pattern(pattern, thickness)
|
||||
local weights = Builders.prepare_weighted_array(pattern)
|
||||
local total = weights.total
|
||||
|
||||
--local count = #pattern
|
||||
local scale = 1 / thickness
|
||||
|
||||
return function(x, y, world)
|
||||
local d = sqrt(x * x + y * y)
|
||||
local i = (d * scale) % total
|
||||
|
Loading…
x
Reference in New Issue
Block a user