First pass at attachments support.

This commit is contained in:
Revar Desmera
2019-04-16 19:16:50 -07:00
parent 96739c3ea0
commit 6f342f450f
10 changed files with 861 additions and 174 deletions

View File

@@ -342,5 +342,20 @@ function corner_edge_count(edges, v) =
);
// Default values for attachment code.
$color = undef;
$overlap = 0.01;
$attach_to = undef;
$attach_conn = ["center", V_ZERO, V_UP, 0];
$parent_size = undef;
$parent_size2 = undef;
$parent_shift = [0,0];
$parent_orient = ORIENT_Z;
$parent_align = "center";
$parent_conns = [];
$tags_shown = [];
$tags_hidden = [];
$tags = "";
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap