Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix various bitstream issues #111
Originally from THREED-3176, although cannot track down ticket any longer.
From Chris on Subversion check-in:
Original notes from Chris:
FIX - Prevent values packed using stream->writeFloat exceeding the expected (-1, 1) range. Add an assertion in BitStream::writeInt to catch when values are sent with insufficient bits. Add explicit bitmasks for integer values that are intended to be truncated by BitStream::writeInt. (THREED-3176)