Guest User

Untitled

a guest
Dec 9th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1.         glColor3f(0,1,1);
  2.         glBegin(GL_TRIANGLE_STRIP);
  3.             for(float j = 0; j < 2; j+=0.02){
  4.                 pBelso.x=r*cos(j * M_PI);
  5.                 pBelso.y=r*sin(j * M_PI);
  6.                 pKulso.x=R*cos(j * M_PI);
  7.                 pKulso.y=R*sin(j * M_PI);
  8.                 glVertex2f(pBelso.x,pBelso.y);
  9.                 glVertex2f(pKulso.x,pKulso.y);
  10.             }
  11.         glEnd();
Add Comment
Please, Sign In to add comment