Use a vertex array to draw a five-pointed star.
Details
- create an array that contains the x and y coordinates of all the star’s vertices. 
- create an array that contains the indices of all the star’s vertices. 
- use a single call to - glDrawElementsto draw the star.
Example
