|
|
> Warning: Polygon not closed. Closing it.
"Closing" a polygon means making sure the beginning and end of your list of
points matches up with each other. If it starts at <1,1>, goes to <2,3>, and
ends at <3,1>, then it's not closed. (imagine drawing lines between those
points; you would only draw two sides of the triangle.) In order to close
it, you have to add <1,1> at the end of the list (this is analagous to
bringing your pen to the point you started at).
With linear prisms this is a common mistake, and it doesn't really cause a
problem as you've seen. I usually don't worry about it. However, when you
get into quadratic and cubic splines, matching up the ends is more
important, since the ends of the list of control points don't exactly
correspond to the ends of the spline.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|