void drawWave(void){ glBegin(GL_POINTS); float Amp=100; float Wavelength= 100; for (i=0; i<360; i++){ float xx=i; float yy= Amp*sin_deg(xx/Wavelength*360.0); glVertex2f(xx+20,yy+100); } glEnd(); }