diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2026-07-24 20:19:48 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2026-07-24 20:19:48 +0200 |
| commit | 2667aa2806877d6fdd31b6ad34b0440197c14e1f (patch) | |
| tree | 2c7fc9ded8170e3794c505c3ff50f610dd538c3e /inc/cad/construction.h | |
| parent | 1af2dfbde432af9f13e8fba09b7ca29f5de71863 (diff) | |
Diffstat (limited to 'inc/cad/construction.h')
| -rw-r--r-- | inc/cad/construction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/cad/construction.h b/inc/cad/construction.h index ea784cf..cb6b2bc 100644 --- a/inc/cad/construction.h +++ b/inc/cad/construction.h @@ -64,6 +64,7 @@ struct command { enum operation op; uint8_t root; bool hidden; + bool placed; // Only used for input commands size_t index; @@ -90,6 +91,8 @@ struct drawing { struct command *error; }; +void normalize_line(struct line *line); + struct element* insert_cmd(struct drawing *drawing, struct command cmd); void place_points(struct drawing *drawing, double inputs[]); void dump_program(struct drawing *drawing, double inputs[]); |
