| 228 | */ |
| 229 | |
| 230 | void POLY_BLOCK::move(ICOORD shift) { |
| 231 | ICOORDELT *pt; //current point |
| 232 | ICOORDELT_IT pts = &vertices; //iterator |
| 233 | |
| 234 | do { |
| 235 | pt = pts.data (); |
| 236 | *pt += shift; |
| 237 | pts.forward (); |
| 238 | } |
| 239 | while (!pts.at_first ()); |
| 240 | compute_bb(); |
| 241 | } |
| 242 | |
| 243 | |
| 244 | #ifndef GRAPHICS_DISABLED |