C source from all three Graphics Gems books