/******************************************************************* Function Prototypes for CS480 Example ******************************************************************** Author: Stan Sclaroff Date: September 9, 2004 Comments: ********************************************************************/ /* callbacks.c */ void selectOption(int option); void selectColor(int color); void reshape(int width, int height); void display(void); void mouseButton(int button, int state, int x, int y); void mouseMotion(int x, int y); void keyboard(unsigned char key, int x, int y); void initPoly(); /* poly.c */ void moveVert(polygonType *poly, int x, int y); void addVert(polygonType *poly, int x, int y); void selectVert(polygonType *poly, int x, int y); void changeColor(polygonType *poly, float red, float green, float blue); polygonType *createPoly(void); void drawConvexPoly(polygonType *poly); void printVerts(polygonType *poly); /* concavePoly.c */ int concavePoly(polygonType *poly); /* drawConcavePoly.c */ void drawConcavePoly(polygonType *poly); /* insidePoly.c */ int insidePoly(polygonType *poly, int x, int y);