diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2026-05-31 13:00:12 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2026-05-31 13:00:12 +0200 |
| commit | 0c650783315066f3e1e6af7967a95c4ee8e5200e (patch) | |
| tree | 166bc274e8211ace6155c7f593e72788afefcff4 /examples/quad.c | |
| parent | 099690b0b50b3df68562130874887ca2ce08460e (diff) | |
Place two assemblies at the same time
It's drawing the box correctly, but some of the constraints seem wonky.
I don't think this is correct, but it is sort of working.
Diffstat (limited to 'examples/quad.c')
| -rw-r--r-- | examples/quad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quad.c b/examples/quad.c index 878fba3..a22e872 100644 --- a/examples/quad.c +++ b/examples/quad.c @@ -17,6 +17,7 @@ void draw_from_constraints(struct constraints *c, struct topology *t, struct can } place_points(&drawing, params); + dump_program(&drawing, params); free(params); reconstruct_drawing(c, assemblies, &assemblies_num); @@ -45,7 +46,6 @@ int main(int argc, char *argv[]) { struct component l4 = {.type = COM_LINE}; add_constraint(&constraints, (struct constraint[]){ - // Make a triangle PP_DISTANCE(&p1, &p2, 10), PP_DISTANCE(&p4, &p1, 20), |
