1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "set_ortho.h" #include "../../view/state0.h" #include <GL/glut.h> #define S state0 void set_ortho (void) { gluOrtho2D (S.ortho.min_x, S.ortho.max_x, S.ortho.min_y, S.ortho.max_y); return; }
Copyright © 2009 Don Pellegrino All Rights Reserved.