삼각형 그리기 부터 시작하여 원 표현, 색상 구현등 실험을 해보았는데 directX보다 사전 준비해야되는 것들이 적어 가볍게 공부하기 좋은거 같다#include #include #include #define Pi 3.14159265358979323846void reshape(int w, int h){ // 기존 행렬 초기화 glLoadIdentity(); // 창의 크기를 뷰포트 영역으로 설정 glViewport(0, 0, w, h); // 월드 좌표계 설정 왼쪽 아래가 0,0 오른쪽 위가 100,100 // 구버전 OpenGL gluOrtho2D(0.0, 50.0, 0.0, 50.0);}void display(void){ glClear(GL_COLOR_BUFFER..