OpenGL Transformation Code
OpenGL Transformation Code
This document contains the C++ implementation of the OpenGL code for applying
translation, rotation, and reflection transformations to a set of vertices.
#include <GL/glut.h>
#include <iostream>
#include <cmath>
#define PI 3.14159265
glFlush();
}
init();
glutDisplayFunc(display);
glutMainLoop();
return 0;
}