Another example: plot a sinc function: sinc(x) = sin(PI*x)/PI*x x = -4 .. +4 ... glVertex2f (x,y); ... glVertex2f(+0.5,+0.5);. glVertex2f(-0.5,+0.5);.
確定! 回上一頁