Hey all, I've been doing some work with OpenGL and have come across something I don't understand, I'm all self-taught so I apologize if it is an easy fix. Anyway here's the code
It supposedly creates an X, however I don't understand what exactlyCode:unsigned char bitmapX[] = { 0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20, 0x02, 0x40, 0x01, 0x80, 0x01, 0x80, 0x02, 0x40, 0x04, 0x20, 0x08, 0x10, 0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01, };
0x08 represents or any of them, can anyone explain this concept to me?



LinkBack URL
About LinkBacks


