diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2025-11-23 22:12:27 +0100 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-11-23 22:12:27 +0100 |
| commit | f8463d52a7c6cb6de6fde0f2472c44cf35e2452a (patch) | |
| tree | 13850d2d04d72d67b04cc1375f8a2111432e41c2 /inc/cad/construction.h | |
| parent | 84f11b37d178242d4ff80c4f3b4eddb54efe59ea (diff) | |
Move angle offsets to the construction VM
Diffstat (limited to 'inc/cad/construction.h')
| -rw-r--r-- | inc/cad/construction.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
