half-edge/src/gl_draw.h

48 lines
1.1 KiB
C

/*
* Copyright 2011-2014 hasufell
*
* This file is part of a hasufell project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2 of the License only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file gl_draw.h
* Header for the external API of gl_draw.c
* @brief header of gl_draw.c
*/
#ifndef _DROW_ENGINE_DRAW_H
#define _DROW_ENGINE_DRAW_H
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
/**
* Vsync timer for animate() function
*/
#define TIMERMSECS 25
void init(char const * const filename);
void display(void);
void reshape(GLsizei w, GLsizei h);
void animate();
void keyboard(unsigned char key, int x, int y);
#endif /* _DROW_ENGINE_DRAW_H */