Introduction - If you have any usage issues, please Google them yourself
Write a program segment with folded planar curve approximation method draw is as follows: (1), (which can be converted to show the expression) (2), (which can be converted to show the expression) (3),. Note: Draw a line function with the OpenGL-drawing line segments step, the window size is determined by us ourselves If you need to pan or zoom, you can directly on the polyline vertex coordinates to pan and zoom, you can also call the OpenGL functions to pan or scaling.