A 3D game in openGL for mac