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

Comparing ray/src/util/rad.c (file contents):
Revision 2.109 by greg, Fri Nov 8 18:08:07 2013 UTC vs.
Revision 2.110 by greg, Wed Dec 4 20:07:07 2013 UTC

# Line 1099 | Line 1099 | specview(                              /* get proper view spec from vs */
1099                          cent[i] += .5*dim[i];
1100                  }
1101                  mult = vlet(ZONE)=='E' ? 2. : .45 ;
1102 <                sprintf(cp, " -vp %.2g %.2g %.2g -vd %.2g %.2g %.2g",
1102 >                sprintf(cp, " -vp %.3g %.3g %.3g -vd %.3g %.3g %.3g",
1103                                  cent[0]+xpos*mult*dim[0],
1104                                  cent[1]+ypos*mult*dim[1],
1105                                  cent[2]+zpos*mult*dim[2],
# Line 1131 | Line 1131 | specview(                              /* get proper view spec from vs */
1131                          break;
1132                  case VT_PAR:
1133                          d = sqrt(dim[0]*dim[0]+dim[1]*dim[1]+dim[2]*dim[2]);
1134 <                        sprintf(cp, " -vh %.2g -vv %.2g", d, d);
1134 >                        sprintf(cp, " -vh %.3g -vv %.3g", d, d);
1135                          cp += strlen(cp);
1136                          break;
1137                  case VT_ANG:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines