From f8463d52a7c6cb6de6fde0f2472c44cf35e2452a Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 23 Nov 2025 22:12:27 +0100 Subject: Move angle offsets to the construction VM --- inc/cad/construction.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') diff --git a/inc/cad/construction.h b/inc/cad/construction.h index 9f4b9ca..71bc432 100644 --- a/inc/cad/construction.h +++ b/inc/cad/construction.h @@ -3,6 +3,7 @@ enum operation { CMD_VALUE_INPUT, + CMD_OFFSET_INPUT, CMD_ORIGIN, CMD_LINE_X, CMD_CIRCLE_CENTER_RADIUS, @@ -56,7 +57,10 @@ struct command { uint8_t root; bool hidden; + // Only used for input commands size_t index; + bool dir; + struct element *arg1; struct element *arg2; struct element *arg3; -- cgit v1.2.3