time_fac*16 - have that.

frame_rate = time_fac*16;

time_fac is merely the reciprocal of the time variable, or raising it to the -1 power:

frame_rate = pow(time, -1)*16;

Edit: Forgot the *16 for the pow() method. As to which is faster, that I don't know, but I suspect time_fac.

Last edited by ulillillia; 04/02/06 23:55.

"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials