Rev 1892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1892 | Rev 3959 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | * of b by an infinitesimally small amount, (that is, 'a' will |
87 | * of b by an infinitesimally small amount, (that is, 'a' will |
88 | * always be considered less than 'b'). |
88 | * always be considered less than 'b'). |
89 | */ |
89 | */ |
90 | if ((a->dx ^ b->dx) < 0 || (a->dy ^ b->dy) < 0) { |
90 | if ((a->dx ^ b->dx) < 0 || (a->dy ^ b->dy) < 0) { |
91 | if (a->dx > 0 || (a->dx == 0 && a->dy > 0)) |
91 | if (a->dx > 0 || (a->dx == 0 && a->dy > 0)) |
92 | return +1; |
- | |
93 | else |
- | |
94 | return -1; |
92 | return -1; |
- | 93 | else |
|
- | 94 | return +1; |
|
95 | } |
95 | } |
Line 96... | Line 96... | ||
96 | 96 | ||
97 | /* Finally, for identical slopes, we obviously return 0. */ |
97 | /* Finally, for identical slopes, we obviously return 0. */ |
98 | return 0; |
98 | return 0; |