summaryrefslogtreecommitdiff
path: root/inc/cad
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-02-10 22:47:46 +0100
committerJesper Jensen <jesper@jnsn.dev>2026-02-10 22:47:46 +0100
commit55a551f7103cf6dbf84fc054f1efeb52c3c1837e (patch)
treed2896f2ec6e45cdccf0688505bd7dc093325c971 /inc/cad
parent1598929f5b86c3541b9faf51f12b85b63945f0c0 (diff)
Different component def
Diffstat (limited to 'inc/cad')
-rw-r--r--inc/cad/solve.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/cad/solve.h b/inc/cad/solve.h
index bdfdf94..d1afce5 100644
--- a/inc/cad/solve.h
+++ b/inc/cad/solve.h
@@ -53,6 +53,12 @@ enum constraint_type {
.c2 = C2, \
}
+#define PP_ALIAS(C1, C2) \
+ PP_DISTANCE(C1, C2, 0)
+
+#define PP_SAME(C1, C2) \
+ PP_DISTANCE(C1, C2, 0)
+
#define PL_DISTANCE(C1, C2, D) \
{ \
.type = CT_POINT_LINE_DISTANCE, \