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 <iostream> | |
| #include <stdlib.h> | |
| #include <GL/glut.h> | |
| using namespace std; | |
| void drawfunc(void); | |
| void myglinit(void); | |
| char *easel; |
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 <iostream> | |
| #include <math.h> | |
| #include <GL\glut.h> | |
| using namespace std; | |
| // Global Variable | |
| int X1 = 0; | |
| int X2 = 0; | |
| int Y1 = 0; |