PolyStart

HC Graphics Drawing filled shapes PolyStart
Polygon PolyEnd

PolyStart


command which tells logo to enter polygon mode.

This is cool for drawing shapes, especially in 3D. In perspective mode the polygon will be lighted.

Be careful: the polygon must be simple and convex. For non-convex polygons and polygons with holes use TessStart..TessContour..TessEnd!

Example:

setPC 4
PolyStart
box
PolyEnd

perspective
PolyStart
box
PolyEnd
rotatescene

Examples:

References:

Polygon PolyEnd