summaryrefslogtreecommitdiff
path: root/src/glu/sgi/libnurbs/internals/arctess.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/arctess.cc')
-rw-r--r--src/glu/sgi/libnurbs/internals/arctess.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glu/sgi/libnurbs/internals/arctess.cc b/src/glu/sgi/libnurbs/internals/arctess.cc
index 0ea84152ec..e633626de0 100644
--- a/src/glu/sgi/libnurbs/internals/arctess.cc
+++ b/src/glu/sgi/libnurbs/internals/arctess.cc
@@ -378,7 +378,9 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps
/* strength reduction on p = dp * step would introduce error */
int step;
+#ifndef NOELIMINATION
int ocanremove = 0;
+#endif
register long order = bezierArc->order;
for( step=1, ++vert; step<nsteps; step++, vert++ ) {
register REAL p = dp * step;
@@ -439,7 +441,9 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps
/* strength reduction on p = dp * step would introduce error */
int step;
+#ifndef NOELIMINATION
int ocanremove = 0;
+#endif
register long order = bezierArc->order;
for( step=1, ++vert; step<nsteps; step++, vert++ ) {
register REAL p = dp * step;