summaryrefslogtreecommitdiffstats
path: root/src/controller/actions/set_ortho.c (plain)
blob: e73846cf724503f1867b22d28a5976d0e83a4812
1
2
3
4
5
6
7
8
9
10
11
12
13
#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;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.