PDA

View Full Version : Bsic Program for LINEs



pradeep
04-26-2011, 10:07 PM
I want to draw a simple line in wave form but i m not able to draw it

i m using (GL_LINES)

BUT STILL i m confuse

ZbuffeR
04-27-2011, 12:16 AM
specify each vertex with x,y following this :
x goes from 0 to 10
y = sin (x)