1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:26:27 +02:00

slicer/slice.c (add): only output lower end of vertical walls (still needs work)

This commit is contained in:
Werner Almesberger 2015-01-08 00:14:21 -03:00
parent 49abc13699
commit 3f2c6cdc30

View File

@ -79,6 +79,8 @@ static void add(const struct v *a, const struct v *b, const struct v *c)
fprintf(stderr, "zero point\n");
return;
}
if (c->z < a->z)
return;
z = get_z(a->z);
line = alloc_type(struct line);
line->ax = a->x;