Skip to content

Instantly share code, notes, and snippets.

View m13silva's full-sized avatar

Marco Antonio Silva Mendoza m13silva

View GitHub Profile
#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