| 281 | } |
| 282 | |
| 283 | static void CheckX( // check that the point "left" is leftwards of the point "right" |
| 284 | const Shape& shape, // in |
| 285 | int left, // in |
| 286 | int right) // in |
| 287 | { |
| 288 | if (PointUsed(shape, left) && |
| 289 | PointUsed(shape, right) && |
| 290 | shape(right, IX) < shape(left, IX)) |
| 291 | { |
| 292 | Err("shape17 point %d is to the left of point %d", right, left); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | static void CheckY( // check that the point "bot" is below the point "top" |
| 297 | const Shape& shape, // in |
no test coverage detected