Skip to content
Snippets Groups Projects
Verified Commit 6743e3e0 authored by codecraft's avatar codecraft :crocodile:
Browse files

fix: led offset

parent 738f3459
No related branches found
No related tags found
1 merge request!2fix: upper layers not working (probably)
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -64,7 +64,7 @@ local function place_leds(led_index, leds)
end
local function place_tree(pos)
local led_index = 0
local led_index = 300 - 220
for index = 1, #leds do
local l = leds[index]
local layer_center = vector.new(pos.x, pos.y + index * height_increment - height_increment / 2, pos.z)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment