| 16 |
|
#include <fcntl.h> |
| 17 |
|
#endif |
| 18 |
|
|
| 19 |
+ |
#include <math.h> |
| 20 |
+ |
|
| 21 |
|
#include <errno.h> |
| 22 |
|
|
| 23 |
|
#include "color.h" |
| 24 |
|
|
| 25 |
< |
#include "resolu.h" |
| 25 |
> |
#include "resolu.h" |
| 26 |
|
|
| 27 |
|
#include "calcomp.h" |
| 28 |
|
|
| 209 |
|
eputs("Usage: "); |
| 210 |
|
eputs(argv[0]); |
| 211 |
|
eputs( |
| 212 |
< |
" [-w][-x xr][-y yr][-e expr][-f file] [ [-s f][-c r g b] pic ..]\n"); |
| 212 |
> |
" [-w][-x xr][-y yr][-e expr][-f file] [ [-o][-s f][-c r g b] pic ..]\n"); |
| 213 |
|
quit(1); |
| 214 |
|
} |
| 215 |
|
|
| 349 |
|
|
| 350 |
|
advance() /* read in data for next scanline */ |
| 351 |
|
{ |
| 350 |
– |
extern double fabs(); |
| 352 |
|
int ytarget; |
| 353 |
|
register COLOR *st; |
| 354 |
|
register int i, j; |