OpenGL Superbible question...

in the “Campfire” example, what does all the
0x00’s mean at page 114? the book doesn’t seem to explain anything about this…

thanx

Originally posted by Y-T:
in the “Campfire” example, what does all the
0x00’s mean at page 114? the book doesn’t seem to explain anything about this…

The values in the fire array represent hexadecimal bitmap values. In C ‘0x…’ means that you’re defining an hexadecimal value. If you look at the previous page, fig. 4.28 you’ll see how this values are interpreted.

Don’t worry if you still don’t understand. It’s not a very common way to define bitmaps.

Hope this helps,

Daniel Palomo van Es

[This message has been edited by DPalomo (edited 10-29-2000).]