
6 Mar
2006
6 Mar
'06
4:23 p.m.
I am highly interested, as my work involves 3D games, bit-packed representations, and colors. On 3/4/06, Emile Cormier <emilecormier@mailcan.com> wrote:
word. It also doesn't suffer from the problem in C++ bitfields where the compiler can arbitrarily decide to align bitfields along word boundaries.
This solution has been very useful to me when dealing with hardware registers and with 16-bit color formats.