Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glColor3f(0,1,1);
- glBegin(GL_TRIANGLE_STRIP);
- for(float j = 0; j < 2; j+=0.02){
- pBelso.x=r*cos(j * M_PI);
- pBelso.y=r*sin(j * M_PI);
- pKulso.x=R*cos(j * M_PI);
- pKulso.y=R*sin(j * M_PI);
- glVertex2f(pBelso.x,pBelso.y);
- glVertex2f(pKulso.x,pKulso.y);
- }
- glEnd();
Add Comment
Please, Sign In to add comment