https://github.com/srifqi/amgmt/blob/master/init.lua#L1
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
amgmt is not defined before, so simply set it to {}, instead of checking
https://github.com/srifqi/amgmt/blob/ma ... it.lua#L29Your 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
local sidelen = maxp.x - minp.x +1
better add a side length param in the function instead of calculating it every time.
https://github.com/srifqi/amgmt/blob/ma ... t.lua#L151Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
It is air by default in singlenode, no needs to set it again to air.
https://github.com/srifqi/amgmt/blob/ma ... t.lua#L215Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
nizx is already defined above, an easier readable soulation would be
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Little changes - but they make the codes better readable