Hello all.

I have this zooming method which works fine, but when i zoom onto models,
the "amount" of zoom is fixed.

i want to make the zooming more general, so it can fit into other applications
more easily,
to do that i thought of this:

first, i create a rect object, which has the same ratio like the camera.rect,
the rect is then scaled down a bit.
when there's a zoom event,
the camera zoom's onto the model, and then, there should be some modelUnderLoc
calls, to make sure the specified model is in the field of view of the camera,
and if so, the camera continues zooming.

is this method effective?
would you do it another way?
any ideas are more then welcome

thanks in advance,
bgsBS