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

Comparing ray/src/common/xf.c (file contents):
Revision 2.6 by greg, Fri Jun 27 06:53:22 2003 UTC vs.
Revision 2.8 by greg, Thu Apr 2 20:44:15 2020 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *  External symbols declared in rtmath.h
8   */
9  
10 + #include  <stdlib.h>
11   #include  "rtmath.h"
12   #include  "rtio.h"
13  
# Line 16 | Line 17 | static const char      RCSid[] = "$Id$";
17  
18  
19   int
20 < xf(ret, ac, av)                 /* get transform specification */
20 < register XF  *ret;
21 < int  ac;
22 < char  *av[];
20 > xf(XF *ret, int ac, char *av[])         /* get transform specification */
21   {
22          MAT4  xfmat, m4;
23          double  xfsca, dtmp;
# Line 130 | Line 128 | done:
128  
129  
130   int
131 < invxf(ret, ac, av)              /* invert transform specification */
134 < register XF  *ret;
135 < int  ac;
136 < char  *av[];
131 > invxf(XF *ret, int ac, char *av[])      /* invert transform specification */
132   {
133          MAT4  xfmat, m4;
134          double  xfsca, dtmp;
# Line 244 | Line 239 | done:
239  
240  
241   int
242 < fullxf(fx, ac, av)                      /* compute both forward and inverse */
248 < FULLXF  *fx;
249 < int  ac;
250 < char  *av[];
242 > fullxf(FULLXF *fx, int ac, char *av[])  /* compute both forward and inverse */
243   {
244          xf(&fx->f, ac, av);
245          return(invxf(&fx->b, ac, av));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines