This example combines a tutorial from raywenderlich (http://www.raywenderlich.com/12667/how-to-rotate-a-3d-object-using-touches-with-opengl) inside a C4 app