summaryrefslogtreecommitdiff
path: root/inc/cad/construction.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cad/construction.h')
-rw-r--r--inc/cad/construction.h3
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[]);