Exercises

Try drawing a puck in the center of the table. For something a bit more challenging, see if you can add a border around the table. How would you do it? As a hint, see if you can draw two rectangles, each with a different color.

Once you’ve completed these exercises, let’s move on to the next chapter and learn how to make things be more colorful.

Get OpenGL ES 2 for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.