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

Comparing ray/src/common/rglsurf.c (file contents):
Revision 3.1 by gwlarson, Tue Jun 9 11:18:36 1998 UTC vs.
Revision 3.2 by gwlarson, Wed Jun 17 16:45:08 1998 UTC

# Line 81 | Line 81 | register FVECT v[];    /* vertex list */
81  
82  
83   static
84 < glu_error(en)                   /* report a tessellation error as a warning */
84 > glu_error(en)                   /* report an error as a warning */
85   GLenum  en;
86   {
87          sprintf(errmsg, "GLU error %s: %s", glu_rout, gluErrorString(en));
# Line 202 | Line 202 | register OBJREC        *o;
202                          (GLdouble)o->oargs.farg[2]);
203          gluSphere(gluqo, (GLdouble)o->oargs.farg[3], NSLICES, NSTACKS);
204          glPopMatrix();
205        rgl_checkerr("creating sphere");
205   }
206  
207  
# Line 263 | Line 262 | register OBJREC *o;
262          gluCylinder(gluqo, o->oargs.farg[6], o->oargs.farg[iscyl ? 6 : 7],
263                          h, NSLICES, 1);
264          glPopMatrix();
266        rgl_checkerr("creating cone");
265   }
266  
267  
# Line 312 | Line 310 | register OBJREC        *o;
310                  glRotated(d, (GLdouble)x1, (GLdouble)y1, 0.);
311          gluDisk(gluqo, o->oargs.farg[6], o->oargs.farg[7], NSLICES, 1);
312          glPopMatrix();
315        rgl_checkerr("creating ring");
313   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines