summaryrefslogtreecommitdiff
path: root/examples/triangle_tip.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-04-06 09:43:13 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-04-06 13:02:39 +0200
commit57ad11effae4e9562253d1fcf38469bd3d5ae69c (patch)
tree5520ed05e1421a1969a878f42a14b0cd706fb1e5 /examples/triangle_tip.c
parent40190bc4e1a994a3faf5f5477d9f6e8b73ffe95d (diff)
Refactor the trangle building as propgation style
Diffstat (limited to 'examples/triangle_tip.c')
-rw-r--r--examples/triangle_tip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/triangle_tip.c b/examples/triangle_tip.c
index 4da57da..0781377 100644
--- a/examples/triangle_tip.c
+++ b/examples/triangle_tip.c
@@ -1,4 +1,5 @@
#include "cad.h"
+#include "cad/debug.h"
void draw_from_constraints(struct constraints *c, struct topology *t, struct canvas *cv) {
struct drawing drawing = {};
@@ -18,6 +19,7 @@ void draw_from_constraints(struct constraints *c, struct topology *t, struct can
free(params);
reconstruct_drawing(c, assemblies, &assemblies_num);
+ print_subassemblies(c, assemblies, assemblies_num);
begin_drawing(cv);
draw_topology(cv, t);