Mercurial > MadButterfly
diff src/coord.c @ 139:1695a4b02b14
Members of coords are geos instead of shapes, now.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 22 Sep 2008 19:22:57 +0800 |
parents | 9f4fc9ecfd1f |
children | 0de8fd11271e |
line wrap: on
line diff
--- a/src/coord.c Mon Sep 22 11:45:00 2008 +0800 +++ b/src/coord.c Mon Sep 22 19:22:57 2008 +0800 @@ -167,12 +167,10 @@ } void sh_attach_coord(shape_t *sh, coord_t *coord) { - STAILQ_INS_TAIL(coord->members, shape_t, coord_mem_next, sh); sh->coord = coord; } void sh_detach_coord(shape_t *sh) { - STAILQ_REMOVE(sh->coord->members, shape_t, coord_mem_next, sh); sh->coord = NULL; }