#include #include #include using namespace std; typedef struct { float x,y; } titik_f; void drawPoly (titik_f t[], int jmlKoordinat, bool closedLoop) { int i; (closedLoop) ? glBegin(GL_LINE_LOOP) : glBegin(GL_LINE_STRIP); for (i=0;i