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

glVertex3f into matrix or array?

Started by nick2price Dec 24, 2008 at 5:25 PM 0 replies 700+ views
Original Post
nick2price
nick2price
I have been drawing my letters by doing somthing simular this this glBegin(GL_LINES); //LETTER N glVertex3f(50.0, 50.0, 0.0); glVertex3f(50.0, 350.0, 0.0); glVertex3f(50.0, 350.0, 0.0); glVertex3f(180.0, 350.0, 0.0); When my tutor does her letters, she does them like this w[0][0]=100; w[0][1]=250; w[1][0]=250; w[1][1]=50; w[2][0]=300; w[2][1]=100; w[3][0]=350; w[3][1]=50; How would i turn the way i do them, into the way she does them? thanks

Topic Locked

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

Sign in to reply to this topic.