myglut.h |
| #include "mygl.h" /* ** TYPE DECLARATION: Array of Points */ #define ARRAY_MAX_NUM 10 typedef struct { int num; GLintPoint pt[ARRAY_MAX_NUM]; } GLintPointArray; /* ** TYPE DECLARATION: Linked List of Points */ typedef struct _GLintPointPtr { GLintPoint point; struct _GLintPointPtr *next; } GLintPointPtr; /* ** Headers */ void drawPolyLine(GLintPointArray poly, int closed); void drawPolyLineFile(char * filename); GLintPointPtr* clearPoints(GLintPointPtr* points); GLintPointPtr* findPoint(GLintPointPtr* points, int x, int y); |
James Little |