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 1.2 by greg, Fri Mar 24 16:59:48 1989 UTC vs.
Revision 1.3 by greg, Fri Mar 24 17:10:43 1989 UTC

# Line 51 | Line 51 | char  *av[];
51                                  break;
52                          case 'y':
53                                  checkarg("-ry",1);
54 <                                theta = PI/180 * atof(av[++i]);
54 >                                theta = PI/180.0 * atof(av[++i]);
55                                  m4[0][0] = m4[2][2] = cos(theta);
56                                  m4[0][2] = -(m4[2][0] = sin(theta));
57                                  break;
58                          case 'z':
59                                  checkarg("-rz",1);
60 <                                theta = PI/180 * atof(av[++i]);
60 >                                theta = PI/180.0 * atof(av[++i]);
61                                  m4[0][0] = m4[1][1] = cos(theta);
62                                  m4[1][0] = -(m4[0][1] = sin(theta));
63                                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines