Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Inimiga::Corpo(void){
- glColor3f(0.545, 0.000, 0.000);
- glScalef(1.0,0.5,0.0);
- glBegin(GL_QUADS);{
- glVertex2f(0.0,0.0);
- glVertex2f(0.8,0.0);
- glVertex2f(0.8,0.25);
- glVertex2f(0.0,0.25);
- }
- glEnd();
- glColor3f(0.545, 0.000, 0.000);
- glScalef(0.5,1.0,0.0);
- glBegin(GL_TRIANGLES);{
- glVertex2f(0.0,0.0);
- glVertex2f(2.0,1.0);
- glVertex2f(0.0,2.0);
- }
- glEnd();
- glColor3f(0.545, 0.000, 0.000);
- glScalef(0.5,1.0,0.0);
- glBegin(GL_TRIANGLES);{
- glVertex2f(0.0,1.0);
- glVertex2f(2.0,0.0);
- glVertex2f(2.0,2.0);
- }
- glEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement