Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. void Inimiga::Corpo(void){
  2. glColor3f(0.545, 0.000, 0.000);
  3.  
  4. glScalef(1.0,0.5,0.0);
  5. glBegin(GL_QUADS);{
  6. glVertex2f(0.0,0.0);
  7. glVertex2f(0.8,0.0);
  8. glVertex2f(0.8,0.25);
  9. glVertex2f(0.0,0.25);
  10. }
  11. glEnd();
  12.  
  13. glColor3f(0.545, 0.000, 0.000);
  14. glScalef(0.5,1.0,0.0);
  15.  
  16. glBegin(GL_TRIANGLES);{
  17. glVertex2f(0.0,0.0);
  18. glVertex2f(2.0,1.0);
  19. glVertex2f(0.0,2.0);
  20. }
  21. glEnd();
  22.  
  23. glColor3f(0.545, 0.000, 0.000);
  24.  
  25. glScalef(0.5,1.0,0.0);
  26. glBegin(GL_TRIANGLES);{
  27. glVertex2f(0.0,1.0);
  28. glVertex2f(2.0,0.0);
  29. glVertex2f(2.0,2.0);
  30. }
  31. glEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement