2014-05-08 20:45:16 +00:00
|
|
|
/*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2014-05-10 17:33:54 +00:00
|
|
|
/**
|
|
|
|
* @file gl_draw.h
|
|
|
|
* Header for the external API of gl_draw.c
|
|
|
|
* @brief header of gl_draw.c
|
|
|
|
*/
|
|
|
|
|
2014-05-08 20:45:16 +00:00
|
|
|
#ifndef _DROW_ENGINE_DRAW_H
|
|
|
|
#define _DROW_ENGINE_DRAW_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <GL/glut.h>
|
|
|
|
#include <GL/gl.h>
|
|
|
|
#include <GL/glu.h>
|
|
|
|
|
|
|
|
|
2014-05-09 12:27:58 +00:00
|
|
|
void init(char const * const filename);
|
2014-05-08 20:45:16 +00:00
|
|
|
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 */
|