#ifndef GLOUTILS_H
#define GLOUTILS_H

#include <GL/gl.h>
#include "types.h"

typedef struct opengldata_s {
  GLdouble modelview[16], projection[16] ;
  GLint viewport[4] ;
  matrix modelviewmatrix, projectionmatrix ;
  matrix modelviewinverse, projectioninverse ;
} opengldata_t ;

void glouAbsoluteRasterPos3f (float x, float y, float z) ;
void glouGetMatrix (GLenum,matrix*) ;
void glouGet (opengldata_t*) ;

#endif
