ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/ranimove1.c
(Generate patch)

Comparing ray/src/util/ranimove1.c (file contents):
Revision 3.20 by greg, Tue Oct 2 21:56:20 2012 UTC vs.
Revision 3.24 by greg, Sat Nov 17 20:15:51 2018 UTC

# Line 16 | Line 16 | static const char      RCSid[] = "$Id$";
16   #include "platform.h"
17   #include "ranimove.h"
18   #include "otypes.h"
19 + #include "otspecial.h"
20   #include "source.h"
21   #include "random.h"
22  
# Line 329 | Line 330 | setmotion(             /* compute motion vector for this pixel */
330                  multp3(ovp, wpos, obj_move[moi].bxfm);
331                  wpos = ovp;
332          }
333 <        viewloc(ovp, &vwprev, wpos);
333 <        if (ovp[2] <= FTINY)
333 >        if (viewloc(ovp, &vwprev, wpos) <= 0)
334                  return;
335          xp = (int)(ovp[0]*hres);
336          yp = (int)(ovp[1]*vres);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines