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.5 by gwlarson, Thu Jun 18 17:18:27 1998 UTC vs.
Revision 3.7 by gwlarson, Tue Jul 7 08:58:34 1998 UTC

# Line 423 | Line 423 | char  *id;
423          glDepthFunc(GL_LESS);
424          glShadeModel(GL_SMOOTH);
425          glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
426 <        glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
426 >        glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
427          glEnable(GL_LIGHTING);
428          if (backvis)
429                  glDisable(GL_CULL_FACE);
# Line 809 | Line 809 | int    vwnum;
809                          ;
810          else if (vwnum >= MAXVIEW || vwl[vwnum].v == NULL)
811                  vwnum = 0;
812        if (vwnum == currentview)
813                return;
812          copylastv("standard view");
813          dev_view(vwl[currentview=vwnum].v);
814   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines