OpenGL sample code projects (ADC Reference Library):
Cocoa OpenGL sets up a window and handles events for drawing OpenGL content to a Cocoa view.
Custom Cocoa OpenGL uses a custom view in Cocoa for OpenGL drawing.
GLCarbonAGLWindow contains code that sets up a Carbon window for OpenGL drawing, handles events, and has a virtual trackball as well as a number of other features.
Last updated: 2008-06-09