camera.c contains code on how to zoom the camera with the mouse wheel... I don't know what the code is, or if it would work for you, but you can take a look at that.