chiark / gitweb /
commitid: specify convexity on our polygons
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 23:24:25 +0000 (23:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 23:24:25 +0000 (23:24 +0000)
We are going to want to combine multiple polygons, and the resulting
polygon may be quite nonconvex.

No functional change as yet.

commitid.scad.pl

index 87e806bd408cdf58e2d3770f5f9bff1fae39f49a..9895360545f823adc3f9c21cf48b8c01003b4905 100755 (executable)
@@ -433,7 +433,7 @@ sub parsefont () {
            my (@points, @vecs);
            p_edgelist(\@points, \@vecs, $poly->{E});
            p "points=[".(join ",",@points)."]";
-           p "]);\n";
+           p ",convexity=4);\n";
        }
        p "}\n";
        $demo .= $chr;