1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ LBL" */ |
4 |
|
|
72 |
|
#define WHTCOLR {128,128,128,COLXS+1} |
73 |
|
#define BLKCOLR {0,0,0,0} |
74 |
|
|
75 |
– |
/* definitions for resolution header */ |
76 |
– |
#define XDECR 1 |
77 |
– |
#define YDECR 2 |
78 |
– |
#define YMAJOR 4 |
79 |
– |
|
75 |
|
/* picture format identifier */ |
76 |
|
#define COLRFMT "32-bit_rle_rgbe" |
77 |
|
|
98 |
|
#define fputcolcor(cc,fp) fprintf(fp,"%s %f %f %f\n",COLCORSTR, \ |
99 |
|
(cc)[RED],(cc)[GRN],(cc)[BLU]) |
100 |
|
|
101 |
< |
extern double ldexp(), atof(); |
101 |
> |
extern double ldexp(); |
102 |
> |
#ifndef atof /* atof's a macro on some systems! */ |
103 |
> |
extern double atof(); |
104 |
> |
#endif |