Skip to main content
GameDev.net gamedev.net
🔒 Locked

glutBitmapCharacter with variables

Started by pavel989 Aug 31, 2008 at 1:59 PM 3 replies 1k views
Original Post
pavel989
pavel989
i didnt know where else to ask, so i figured this was better than the rest of the forums. i have glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18,first); glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18,second); glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18,third); where first, second, and third are all different int's. but they wont show up on my screen, and i moved the raster position. if i replace any with its number, like if first is 4, i do '4', itll show.
pavel989
pavel989
it still doesnt work. could i have the wrong projection matrix or something?
pavel989
pavel989
ah, making it a plus, has made it work. but yes i made a little function to take a number and get the digits and display them.

TY!!!!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.