diff options
Diffstat (limited to 'examples/box_and_lines.c')
| -rw-r--r-- | examples/box_and_lines.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/box_and_lines.c b/examples/box_and_lines.c index 7026268..d90f208 100644 --- a/examples/box_and_lines.c +++ b/examples/box_and_lines.c @@ -135,7 +135,9 @@ void a_box(struct box *box, struct topology *topo, struct constraints *constr) { void draw_from_constraints(struct constraints *c, struct topology *t, struct canvas *cv) { struct drawing drawing = {}; - bool rc = solve_constraints(c, &drawing); + struct subassembly assemblies[16] = {}; + size_t assemblies_num; + bool rc = solve_constraints(c, &drawing, assemblies, &assemblies_num); assert(rc); // Copy over all the parameter values to a new array |
