19 lines
457 B
C
19 lines
457 B
C
#ifndef _INPUT_H_
|
|
#define _INPUT_H_
|
|
|
|
#include <stdlib.h>
|
|
#include <GL/glut.h>
|
|
|
|
#include "structs.h"
|
|
|
|
GLvoid menu ( int value );
|
|
GLvoid keyboard_event(GLubyte key, GLint x, GLint y);
|
|
GLvoid keyboard_special_event(GLint key, GLint x, GLint y);
|
|
GLvoid button_motion(GLint mx, GLint my);
|
|
GLvoid passive_motion(GLint mx, GLint my);
|
|
GLvoid mouse_button(GLint btn, GLint state, GLint mx, GLint my);
|
|
|
|
//inline void scalePoint(Point& p, GLint mx, GLint my);
|
|
|
|
#endif
|