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.8 by gwlarson, Wed Jul 8 18:00:39 1998 UTC vs.
Revision 3.9 by gwlarson, Wed Jul 15 17:51:13 1998 UTC

# Line 426 | Line 426 | char  *id;
426          glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
427          glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
428          glEnable(GL_LIGHTING);
429 +        glFrontFace(GL_CCW);
430 +        glCullFace(GL_BACK);
431          if (backvis)
432                  glDisable(GL_CULL_FACE);
433 <        else {
432 <                glFrontFace(GL_CCW);
433 <                glCullFace(GL_BACK);
433 >        else
434                  glEnable(GL_CULL_FACE);
435        }
435          glDrawBuffer(GL_BACK);
436                                          /* figure out sensible view */
437          pwidth = (double)DisplayWidthMM(ourdisplay, ourscreen) /

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines