21 |
|
#define RAYQLEN 50000 /* max. rays to queue before flush */ |
22 |
|
#endif |
23 |
|
|
24 |
– |
#ifndef FEQ |
25 |
– |
#define FEQ(a,b) ((a)-(b) <= FTINY && (a)-(b) >= -FTINY) |
26 |
– |
#endif |
27 |
– |
|
24 |
|
#ifndef MAXCONE |
25 |
|
#define MAXCONE 16 /* number of different cone sizes */ |
26 |
|
#endif |
246 |
|
return(0); |
247 |
|
} |
248 |
|
if (nv != &odev.v) { |
249 |
< |
if (!FEQ(nv->horiz,odev.v.horiz) || /* resize window? */ |
250 |
< |
!FEQ(nv->vert,odev.v.vert)) { |
249 |
> |
if (!FABSEQ(nv->horiz,odev.v.horiz) || /* resize window? */ |
250 |
> |
!FABSEQ(nv->vert,odev.v.vert)) { |
251 |
|
int dw = DisplayWidth(ourdisplay,ourscreen); |
252 |
|
int dh = DisplayHeight(ourdisplay,ourscreen); |
253 |
|
|