This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "GL/gl.h" | |
| #include "winnls.h" | |
| #include <GL/freeglut.h> | |
| #include <cmath> | |
| // Funcion de inicializacion | |
| void init() { | |
| // Configurar el color de fondo | |
| glClearColor(0.55f, 0.71f, 0.89f, 1.0f); | |
| glClear(GL_COLOR_BUFFER_BIT); | |
| // Configurar el viewport |