Polygon and Circle Animation
no vote
1。 The edge of the graph is in the radius 5 of the view, width = 200, height = 200. The original left and bottom are 50 and 50 theviewport. The width and height of the screen are 640 and 480, respectively. On both sides of the polygon, set the 3-sided initial number. Set the colorsaccording t value at the edge: A. Black: t > [0, 0.25] B. Red: t > [0.25, 0.5) C. green: t > [0.5, 0.75) d. blue: t > [0.75, 1] to allow the user to move up, down, left and right of the viewport using the keys W, s, a and D. Each key will viewportby 10 pixels. If the user presses the right mouse button and gets n-gongusing GL_ The number of points and animation faces ranges from 3 to 32 and from 3 to 32to.