Cyber Monday Sale Save up to 40% off unlimited courses, tutorials and creative assets. Cyber Monday Sale! Save Now
Lessons:8Length:41 minutes
  • Overview
  • Transcript

2.3 Shapes

In this lesson, we'll change the code for the cube shapes to illustrate how OpenGL defines surfaces. We'll change the floor to a ceiling and take one side off the cube to give it the appearance of an empty box. Finally, I'll illustrate how OpenGL models each square surface of the cube as two triangles.