Mercurial > MadButterfly
comparison src/coord.c @ 202:75ec0124202a
Commit merged between 200 and 201
author | wycc@wycc-desktop |
---|---|
date | Tue, 09 Dec 2008 23:34:05 +0800 |
parents | c234ee745ceb |
children | 29e1b2bffe4c |
comparison
equal
deleted
inserted
replaced
201:31933f9ee70e | 202:75ec0124202a |
---|---|
88 if(parent) { | 88 if(parent) { |
89 /* insert at tail of children list. */ | 89 /* insert at tail of children list. */ |
90 co->parent = parent; | 90 co->parent = parent; |
91 STAILQ_INS_TAIL(parent->children, coord_t, sibling, co); | 91 STAILQ_INS_TAIL(parent->children, coord_t, sibling, co); |
92 } | 92 } |
93 MBO_TYPE(co) = MBO_COORD; | |
93 co->matrix[0] = 1; | 94 co->matrix[0] = 1; |
94 co->matrix[4] = 1; | 95 co->matrix[4] = 1; |
95 co->aggr_matrix[0] = 1; | 96 co->aggr_matrix[0] = 1; |
96 co->aggr_matrix[4] = 1; | 97 co->aggr_matrix[4] = 1; |
97 co->cur_area = &co->areas[0]; | 98 co->cur_area = &co->areas[0]; |