summaryrefslogtreecommitdiff
path: root/class_layout.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-13 01:17:05 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-13 01:17:05 -0700
commit11ceefa358d2e9e056631d536a429a3a624f224a (patch)
tree2113a0b2a8a684d4c7b8c13c9aee6fb883cbfea4 /class_layout.lua
parent9da077c9efa5cc3f5b994c0064daa922efd465db (diff)
add compatibility with the hopper mod, via the API I just added over in a fork of the hopper mod. Hopefully this API will be merged.
Diffstat (limited to 'class_layout.lua')
-rw-r--r--class_layout.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/class_layout.lua b/class_layout.lua
index 67ddbf2..c39c9ad 100644
--- a/class_layout.lua
+++ b/class_layout.lua
@@ -233,7 +233,7 @@ end
-- Rotates 90 degrees widdershins around the axis defined by facedir (which in this case is pointing out the front of the node, so it needs to be converted into an upward-pointing axis internally)
function DigtronLayout.rotate_layout_image(self, facedir)
- -- To convert this into the direction the "top" of the axel node is pointing in:
+ -- To convert this into the direction the "top" of the axle node is pointing in:
-- 0, 1, 2, 3 == (0,1,0)
-- 4, 5, 6, 7 == (0,0,1)
-- 8, 9, 10, 11 == (0,0,-1)