Function ccDrawPoly

#include <Geode/cocos/draw_nodes/CCDrawingPrimitives.h>voidccDrawPoly(,
uintnumOfVertices
,
boolclosePolygon
)

draws a polygon given a pointer to CCPoint coordinates and the number of vertices measured in points. The polygon can be closed or open

Examples0