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

Comparing ray/src/gen/replmarks.c (file contents):
Revision 2.15 by greg, Fri Jan 25 02:11:13 2008 UTC vs.
Revision 2.17 by greg, Tue Feb 2 18:02:32 2016 UTC

# Line 14 | Line 14 | static const char RCSid[] = "$Id$";
14  
15   #include "platform.h"
16   #include "rtio.h"
17 < #include "rtprocess.h"
17 > #include "paths.h"
18   #include "fvect.h"
19  
20   #ifdef  M_PI
# Line 406 | Line 406 | addrot(                /* compute rotation (x,y,z) => (xp,yp,zp) */
406                  while (*xf) ++xf;
407                  n += 2;
408          }
409 <        theta = asin(-xp[2]);
409 >        theta = Asin(-xp[2]);
410          if (!FEQ(theta,0.0)) {
411                  sprintf(xf, " -ry %f", theta*(180./PI));
412                  while (*xf) ++xf;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines