diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-29 18:46:46 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-29 18:46:46 +0000 |
commit | c3051df8e18882d9c8ffb795622af24aded555b4 (patch) | |
tree | bde7e3cccbdfc830e79fbee3544d04b610357081 /src/glu/sgi/libnurbs/internals/arctess.cc | |
parent | db79d2abacfc946e80ae3ca6a27953925ccf50b9 (diff) |
fixes from John Shell (bug 6339)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/arctess.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/arctess.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libnurbs/internals/arctess.cc b/src/glu/sgi/libnurbs/internals/arctess.cc index e633626de0..29e7cf4c00 100644 --- a/src/glu/sgi/libnurbs/internals/arctess.cc +++ b/src/glu/sgi/libnurbs/internals/arctess.cc @@ -335,7 +335,7 @@ ArcTessellator::tessellateNonlinear( Arc *arc, REAL geo_stepsize, REAL arc_steps REAL min_u, min_v, max_u,max_v; min_u = max_u = bezierArc->cpts[0]; min_v = max_v = bezierArc->cpts[1]; - for(i=1, j=2; i<bezierArc->order; i++, j+= bezierArc->stride) + for(i=1, j=bezierArc->stride; i<bezierArc->order; i++, j+= bezierArc->stride) { if(bezierArc->cpts[j] < min_u) min_u = bezierArc->cpts[j]; |