fix rotation direction

This commit is contained in:
BuckarooBanzay 2022-03-31 19:44:48 +02:00
parent 185aac97be
commit 779e90e911

View File

@ -134,8 +134,8 @@ end
function mtscad.transform_node(node, rotation)
local tnode = { name=node.name, param1=node.param1, param2=node.param2 }
transform_node_axis(tnode, "x+", rotation.x)
transform_node_axis(tnode, "y+", rotation.y)
transform_node_axis(tnode, "z+", rotation.z)
transform_node_axis(tnode, "x-", rotation.x)
transform_node_axis(tnode, "y-", rotation.y)
transform_node_axis(tnode, "z-", rotation.z)
return tnode
end