Changeset 5700 for developers/werner/cncmap/rect/rect.c
- Timestamp:
- 10/21/09 22:11:17 (4 years ago)
- File:
-
- 1 edited
-
developers/werner/cncmap/rect/rect.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
developers/werner/cncmap/rect/rect.c
r5613 r5700 85 85 lr_calc(&z0, &zx, &zy); 86 86 87 /* 88 * Reorder the points such that "o" becomes the corner, "a" and "b" 89 * define the sides of the rectangle, and the angle from "a" to "b" is 90 * as close to 90 degrees as possible, in a counter-clockwise 91 * direction. 92 * 93 * If no angle can be found that's reasonably close to 90 degrees, we 94 * give up. 95 */ 96 87 97 best_angle = 0; 88 98 for (o = 0; o != 9; o += 3) {
Note: See TracChangeset
for help on using the changeset viewer.
