Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- Example 1 : a simple, centre-aligned cube
nodebox = {
type = "scaled",
scaled = {
-0.5 , -0.5 , -0.5 , 0.5 , 0.5 , 0.5
}
}
-- Example 2 : an OCD-style flower node
nodebox = {
type = "scaled",
scaled = {
--{ x1 , y1 , z1 , x2 , y2 , z2 }
{ -0.1 , -0.5 , -0.1 , 0.1 , 0.1 , 0.1 }, -- stem
{ -0.3 , 0.1 , -0.3 , -0.1 , 0.3 , -0.1 }, -- petals
{ -0.3 , 0.1 , 0.1 , -0.1 , 0.3 , 0.3 },
{ 0.1 , 0.1 , 0.1 , 0.3 , 0.3 , 0.3 },
{ -0.3 , 0.1 , 0.1 , 0.3 , 0.3 , -0.1 }
}
}
EDIT: Grammar.