From d8a6d8a8b046dcb73f1c1daf0e013a703517da68 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sat, 21 Mar 2026 23:23:12 +0100 Subject: WIP: Add support for multiple assemblies --- examples/triangle_tip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/triangle_tip.c b/examples/triangle_tip.c index 408c864..6b05b10 100644 --- a/examples/triangle_tip.c +++ b/examples/triangle_tip.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) { add_constraint(&constraints, (struct constraint[]){ // Make a triangle PP_DISTANCE(&p1, &p2, 30), - PP_DISTANCE(&p1, &p3, 30), + PP_DISTANCE(&p3, &p1, 30), PP_DISTANCE(&p2, &p3, 30), POINT_ON_LINE(&p1, &t1base), @@ -50,8 +50,9 @@ int main(int argc, char *argv[]) { // With another triangle sharing a point PP_DISTANCE(&p4, &p5, 30), PP_DISTANCE(&p3, &p4, 30), + PP_DISTANCE(&p3, &p5, 30), - LL_ANGLE(&t2side, &t2base, DEG(120)), + // LL_ANGLE(&t2side, &t2base, DEG(120)), POINT_ON_LINE(&p3, &t2side), POINT_ON_LINE(&p4, &t2side), -- cgit v1.2.3