Jump to content
Sign in to follow this  
BL1P

BL1Ps BenchMark fun.

Recommended Posts

_AdditionalUnitCreationDelay = ((abs(FPSMAX - diag_fps) / (FPSMAX - FPSLIMIT))^2) * MAXDELAY;

sleep(_AdditionalUnitCreationDelay);

Was linked to this discussion from another thread by Grumpy :)

Just thought I'd point out that if you remove the abs command from this then it's actually better because you get a delay of 0 for anything above the FPSMAX. Whereas if you change the negative number into a positive one you get a delay for values above FPSMAX. However, there could be a reason for that command I'm not seeing.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×