From 779e90e911fe6604a1990333d9ecec96ae7bbd85 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Thu, 31 Mar 2022 19:44:48 +0200 Subject: [PATCH] fix rotation direction --- transform.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transform.lua b/transform.lua index 3cc119e..230be16 100644 --- a/transform.lua +++ b/transform.lua @@ -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 \ No newline at end of file