Ignore:
Timestamp:
10/21/09 22:11:17 (4 years ago)
Author:
werner
Message:
  • README: explained what all this is about
  • README, rect/rect.c: described "normalized" format used by "rect"
  • zscan/: new utility - a surface scanner
File:
1 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/cncmap/rect/rect.c

    r5613 r5700  
    8585        lr_calc(&z0, &zx, &zy); 
    8686 
     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 
    8797        best_angle = 0; 
    8898        for (o = 0; o != 9; o += 3) { 
Note: See TracChangeset for help on using the changeset viewer.