diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-01-15 20:04:28 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-01-15 20:04:28 +0000 |
commit | 230928ad5f325614288bc481d7135388c052f3ab (patch) | |
tree | 88fe70801365689fec32217870f3c3643a772df3 /src | |
parent | 3fd01320f1ce3b78584c1fec9b1d6805e8ee6786 (diff) |
removed unneeded TXTR_COORD macros (Stephen Tse)
Diffstat (limited to 'src')
-rw-r--r-- | src/glu/mesa/quadric.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glu/mesa/quadric.c b/src/glu/mesa/quadric.c index 5d7bc8f5c6..1f71e346e0 100644 --- a/src/glu/mesa/quadric.c +++ b/src/glu/mesa/quadric.c @@ -1,4 +1,4 @@ -/* $Id: quadric.c,v 1.8 2000/07/11 14:11:04 brianp Exp $ */ +/* $Id: quadric.c,v 1.9 2001/01/15 20:04:28 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -401,7 +401,6 @@ gluSphere(GLUquadricObj * qobj, GLdouble radius, GLint slices, GLint stacks) /* draw +Z end as a triangle fan */ glBegin(GL_TRIANGLE_FAN); glNormal3f(0.0, 0.0, 1.0); - TXTR_COORD(0.5, 1.0); glVertex3f(0.0, 0.0, nsign * radius); for (j = 0; j <= slices; j++) { theta = (j == slices) ? 0.0 : j * dtheta; @@ -458,7 +457,6 @@ gluSphere(GLUquadricObj * qobj, GLdouble radius, GLint slices, GLint stacks) /* draw -Z end as a triangle fan */ glBegin(GL_TRIANGLE_FAN); glNormal3f(0.0, 0.0, -1.0); - TXTR_COORD(0.5, 0.0); glVertex3f(0.0, 0.0, -radius * nsign); rho = M_PI - drho; s = 1.0; @@ -470,7 +468,6 @@ gluSphere(GLUquadricObj * qobj, GLdouble radius, GLint slices, GLint stacks) z = nsign * cos(rho); if (normals) glNormal3f(x * nsign, y * nsign, z * nsign); - TXTR_COORD(s, t); s -= ds; glVertex3f(x * radius, y * radius, z * radius); } |