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

Comparing ray/src/cv/lampcolor.c (file contents):
Revision 1.2 by greg, Thu Sep 5 15:09:08 1991 UTC vs.
Revision 1.4 by greg, Thu Sep 5 15:36:34 1991 UTC

# Line 49 | Line 49 | or \"ring\".  These may be abbreviated as a single let
49          { "total lamp lumens", "0", outpcheck,
50   "This is the overall light output of the lamp and its fixture.  If you do\n\
51   not know this value explicitly, you can compute the approximate lumens\n\
52 < by multiplying the input wattage by 15 for incandescent fixtures or 40\n\
52 > by multiplying the input wattage by 14 for incandescent fixtures or 70\n\
53   for fluorescent fixtures." },
54   };
55  
# Line 198 | Line 198 | double *dp;
198  
199   getpolygon()                    /* get projected area for a polygon */
200   {
201 <        printf("Enter area of polygon: ");
201 >        printf("Polygon area? ");
202          if (!getd(&projarea))
203                  return(0);
204          projarea *= unit2meter*unit2meter;
# Line 211 | Line 211 | getsphere()                    /* get projected area for a sphere */
211   {
212          double  radius;
213  
214 <        printf("Enter sphere radius: ");
214 >        printf("Sphere radius? ");
215          if (!getd(&radius))
216                  return(0);
217          radius *= unit2meter;
# Line 224 | Line 224 | getcylinder()                  /* get projected area for a cylinder *
224   {
225          double  length, radius;
226  
227 <        printf("Enter cylinder length: ");
227 >        printf("Cylinder length? ");
228          if (!getd(&length))
229                  return(0);
230          length *= unit2meter;
231 <        printf("Enter cylinder radius: ");
231 >        printf("Cylinder radius? ");
232          if (!getd(&radius))
233                  return(0);
234          radius *= unit2meter;
# Line 241 | Line 241 | getring()                      /* get projected area for a ring */
241   {
242          double  radius;
243  
244 <        printf("Enter disk radius: ");
244 >        printf("Disk radius? ");
245          if (!getd(&radius))
246                  return(0);
247          radius *= unit2meter;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines