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

Comparing ray/src/gen/genssky.c (file contents):
Revision 2.4 by greg, Thu Aug 8 02:00:48 2024 UTC vs.
Revision 2.5 by greg, Mon Aug 19 18:07:44 2024 UTC

# Line 210 | Line 210 | static void write_rad(const double *sun_radiance, cons
210      printf("solar source sun\n0\n0\n4 %f %f %f 0.533\n\n", sundir[0], sundir[1],
211             sundir[2]);
212    }
213 <  printf("void specpict skyfunc\n5 noop %s . 'atan2(Dy,Dx)/PI+1' "
214 <         "'acos(Dz)/PI'\n0\n0\n\n",
213 >  printf("void specpict skyfunc\n5 noop %s . 'Atan2(Dy,Dx)/PI+1' "
214 >         "'1-Acos(Dz)/PI'\n0\n0\n\n",
215           skyfile);
216   }
217  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines