summaryrefslogtreecommitdiffstats
path: root/src/controller/actions/set_ortho.c (plain)
blob: ce66f60f0e75f3031ff31d6f6ea5fcc661d2e1c0
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;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.