• Advertisement
Sign in to follow this  

FAQ is broken

This topic is 2494 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Networking and Multiplayer FAQ is cut off from about 23rd question...
Not much more to say... see by yourself

Share this post


Link to post
Share on other sites
Advertisement

Networking and Multiplayer FAQ is cut off from about 23rd question...
Not much more to say... see by yourself


Yup, I see it. Thanks for the note! Trained operators are looking for the backup tape as we speak.
Well, at least I hope that's what's going on -- I have no insight into the actual operations of the site ;-)

Share this post


Link to post
Share on other sites
To pack a floating point number of a known range into a fixed number of bits, do something like:
unsigned int pack_float( float v, float minVal, float maxVal, int bits ) { assert( bits < 32 ); assert( v >= minVal && v < maxVal );

To unpack the value again, do something like:

float unpack_float( unsigned int val, float minVal, float maxVal, int bits ) { assert( bits < 32 ); assert( val < (1U<<bits) ); return val * (maxVal-minVal) / (1U<<bits) + minVal;}


http://www.gamedev.n...43#entry3554643

http://archive.gamed...asp?forum_id=15

Maybe someone could add the 2nd link to the post?

Share this post


Link to post
Share on other sites

To pack a floating point number of a known range into a fixed number of bits, do something like:
(...)
To unpack the value again, do something like:
(...)
I was not looking for that
I just said that all is cut off starting at 23rd question


http://archive.gamed...asp?forum_id=15
Maybe someone could add the 2nd link to the post?
To which post? mine?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement