--- ray/src/util/ranimove1.c 2018/01/24 04:39:52 3.23 +++ ray/src/util/ranimove1.c 2020/03/12 17:19:18 3.25 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: ranimove1.c,v 3.23 2018/01/24 04:39:52 greg Exp $"; +static const char RCSid[] = "$Id: ranimove1.c,v 3.25 2020/03/12 17:19:18 greg Exp $"; #endif /* * ranimove1.c @@ -16,6 +16,7 @@ static const char RCSid[] = "$Id: ranimove1.c,v 3.23 2 #include "platform.h" #include "ranimove.h" #include "otypes.h" +#include "otspecial.h" #include "source.h" #include "random.h" @@ -420,7 +421,7 @@ init_frame_sample(void) /* sample our initial frame * zbuffer[n] = ir.rot; obuffer[n] = ir.robj; sbuffer[n] = 1; - if (ir.rot >= FHUGE) + if (ir.rot >= 0.99*FHUGE) abuffer[n] = ADISTANT; else { abuffer[n] = ALOWQ;