diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2026-03-28 09:47:34 +0100 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2026-03-28 09:47:34 +0100 |
| commit | ebb61f7bec9a6affa2be7b0eeb94bb737b9edcb2 (patch) | |
| tree | 570251bc426ccb4ee6cc88b06754ef14c7c834fb /src/main.c | |
| parent | d8a6d8a8b046dcb73f1c1daf0e013a703517da68 (diff) | |
Add support for post solve assembling
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -116,7 +116,9 @@ struct mid a_midpoint() { void draw_from_constraints(struct constraints *c, struct topology *t, struct canvas *cv) { struct drawing drawing = {}; - solve_constraints(c, &drawing); + struct subassembly assemblies[16] = {}; + size_t assembly_num; + solve_constraints(c, &drawing, assemblies, &assembly_num); // Copy over all the parameter values to a new array // @PERF: Maybe we should just store them in a separate array to start with |
