Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Luanti LED Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tuxilio
Luanti LED Tree
Merge requests
!2
fix: upper layers not working (probably)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
fix: upper layers not working (probably)
codecraft/ledtree:main
into
main
Overview
0
Commits
7
Changes
1
Open
codecraft
requested to merge
codecraft/ledtree:main
into
main
2 months ago
Overview
0
Commits
7
Changes
1
Expand
0
0
Merge request reports
Compare
version 2
version 6
45e59bf3
2 months ago
version 5
70ebc995
2 months ago
version 4
14d2e4a1
2 months ago
version 3
6743e3e0
2 months ago
version 2
738f3459
2 months ago
version 1
7deb695f
2 months ago
main (HEAD)
and
version 3
latest version
e994dcd2
7 commits,
2 months ago
version 6
45e59bf3
6 commits,
2 months ago
version 5
70ebc995
5 commits,
2 months ago
version 4
14d2e4a1
4 commits,
2 months ago
version 3
6743e3e0
3 commits,
2 months ago
version 2
738f3459
2 commits,
2 months ago
version 1
7deb695f
1 commit,
2 months ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tree.lua
+
1
−
1
Options
@@ -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
-
22
0
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
)
Loading