Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float rozmiar=1.0f;
- //glTranslatef(0.0f,-1.0f,-5.0f);
- glColor4ub(255,255,255,255);
- GLUquadricObj* kwadryka=gluNewQuadric();//tworzenie obiektu kwadryki
- gluQuadricDrawStyle(kwadryka,GLU_FILL);//ustalenie stylu
- gluSphere(kwadryka,rozmiar,30,30);//rysowanie
- gluQuadricTexture(kwadryka, GL_TRUE);//tekstura
- gluDeleteQuadric(kwadryka);//usuwanie obiektu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement