#81 glePolyCylinder w/ loop causes segfault

v2.0.1
open
nobody
GLE (4)
4
2003-05-03
2003-05-03
Mike C. Fletcher
No

glePolyCylinder as used in the knots demo can crash if
the start-point of the polyline is included later in
the polyline. If it doesn't crash, it gives just weird
results (the caps appear to be generated with something
like a 0-div result as a multiplier, so they wind up
going off to infinity). This might be fixed by
upgrading the library (there's a new version included
with newer GLUT libs), or may possibly be a problem
with how we're passing the values (I don't think so,
though).

Discussion