Código Menú|Animación // Diana Vargas B
#include <windows.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <GL/glut.h> float rotar = 0,inc=0.1, ry=0, rx=0,ang=0,botar=1, relleno=1;// botar =una bandera float r=1,g=0,b=0; int figurita =1; float x,y; float radio=0; float cx=0; float cy=0; float dx, dy; void dibujaCuadro(void) { if(relleno==1){ glColor3f(r, g, b); glBegin(GL_QUADS); glVertex2f(5, 5); glVertex2f(-5, 5); glVertex2f(-5, -5); glVertex2f(5, -5); glEnd(); }else{ glColor3f(r, g, b); glBegin(GL_LINE_LOOP); glVertex2f(5, 5); glVertex2f(-5, 5); glVertex2f(-5, -5); glVertex2f(5, -5); glEnd(); } } //CAP AMERICA void estrella(float r, float g, float b){ if(relleno==1){ glColor3f...