Introduction - If you have any usage issues, please Google them yourself
Experiment 3 simple polygon display
Purpose: response function by mouse input and display polygon
Basic elements:
Mouse followed by n vertices (n> = 3), display polygons.
Establish polygon data structure (save vertex tables, side information, and other information)
Display with opengl polygon
Expanding requirements:
Determine the type of polygon (self-intersecting polygons, concave polygon convex polygon)
* If the concave polygon, polygons put into multiple convex polygons