A port of NeHe Lesson 06 for Max OS X XCode 4.6.3