Two quads

This sample shows how to draw two quad in a window and lets the user rotate the quads with the keyboard. It also shows why and how to setup a depth buffer.

You can grab the sources!