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

Comparing ray/src/gen/genblinds.c (file contents):
Revision 2.3 by greg, Thu Aug 27 13:51:59 1992 UTC vs.
Revision 2.5 by greg, Fri Jun 4 14:29:34 1993 UTC

# Line 21 | Line 21 | static char SCCSid[] = "$SunId$ LBL";
21   #include  <stdio.h>
22   #include  <math.h>
23  
24 #ifndef atof
25 extern double  atof();
26 #endif
27
24   #define  PI             3.141592653589793
25   #define  DELTA          5.  /*  MINIMAL SUSTAINED ANGLE IN DEGREES */
26  
# Line 39 | Line 35 | main(argc, argv)
35   int  argc;
36   char  *argv[];
37   {
42        double  fabs();
38          double  width, delem, depth, rcurv = 0.0, angle;
39          double  beta, gamma, theta, chi;
40          int     i, j, k, l;
# Line 156 | Line 151 | userr:
151   makeflat(w,d,a)
152   double  w, d, a;
153   {
159        double  sin(), cos();
154          double  h;
155  
156          h = d*sin(a);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines