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

Comparing ray/src/common/rglsrc.c (file contents):
Revision 3.4 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 3.6 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 36 | Line 36 | static struct {
36  
37   static int      nlights;                /* number of defined lights */
38  
39 < static void     l_flatsrc(), l_sphsrc(), l_source();
39 > static void     l_flatsrc(int), l_sphsrc(int), l_source(int);
40  
41  
42   void
43   lightinit()                     /* initialize lighting */
44   {
45          GLfloat ambv[4];
46        register int    i;
46  
47          if (!dolights)
48                  return;
# Line 73 | Line 72 | lightclean()                   /* clean up light source commands */
72   void
73   lightdefs()                     /* define light source list */
74   {
76        register int    i;
77
75          if (!nlights)
76                  return;
77          glNewList(lightlist, GL_COMPILE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines