5 #define GRID_ID "grid003.02"
6 #define DSPF_ID "dspf003.02"
8 #define LINTERP(A,B,C) ((C-A)/(B-A))*255
11 #define FLINTERP(A,B,C,D,E) (((C-A)*(E-D))/(B-A)) + D
15 #define NV(A,B,C) ((A*A) + (B*B) + (C*C))
35 float north, south, east,
west;
55 float n1[3], n2[3], n3[3];
85 int my_fread(
char *,
int,
int, FILE *);
86 int my_fread(
char *,
int,
int, FILE *);
104 #define GLOBAL extern
int write_cube(Cube_data *Cube, int cur_x, file_info *headfax)
int struct_copy(char *To, char *From, int size)
int write_cube_buffer(unsigned char *Buffer, int size, int cur_x, file_info *headfax)
int my_fread(char *buf, int size, int cnt, FILE *fp)
int new_dspf(file_info *hfax)
int read_cube(Cube_data *Cube, file_info *headfax)
int print_head_info(file_info *head)
int reset_reads(file_info *headfax)