I will like to create something like a table in OpenGL, then use something like (m,n) or other method to control each cell, like background color and write a number in cell.
How can I do that?
Thanks!
I will like to create something like a table in OpenGL, then use something like (m,n) or other method to control each cell, like background color and write a number in cell.
How can I do that?
Thanks!
Make a two-dimensional array?
cell_t MyTable[SIZE_X][SIZE_Y];
-SirKnight
[This message has been edited by SirKnight (edited 11-27-2003).]
Thanks, what I want is draw a table on OpenGL.
Originally posted by SirKnight:
[b]Make a two-dimensional array?
cell_t MyTable[SIZE_X][SIZE_Y];
-SirKnight
[This message has been edited by SirKnight (edited 11-27-2003).][/b]