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

Comparing ray/src/util/glrad.c (file contents):
Revision 3.6 by gwlarson, Fri Jun 19 11:29:50 1998 UTC vs.
Revision 3.8 by gwlarson, Wed Jul 8 18:00:39 1998 UTC

# Line 173 | Line 173 | char   *argv[];
173                                          /* all done */
174          quit(0);
175   userr:
176 <        fprintf(stderr, "Usage: %s [-w][-b][-v view] rfile [VAR=value]..\n",
176 >        fprintf(stderr,
177 >                "Usage: %s [-w][-s][-b][-S][-v view] rfile [VAR=value]..\n",
178                          argv[0]);
179          quit(1);
180   }
# Line 423 | Line 424 | char  *id;
424          glDepthFunc(GL_LESS);
425          glShadeModel(GL_SMOOTH);
426          glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
427 <        glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
427 >        glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
428          glEnable(GL_LIGHTING);
429          if (backvis)
430                  glDisable(GL_CULL_FACE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines