-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glut_220.h
42 lines (34 loc) · 1 KB
/
glut_220.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef GLUT_220_H
#define GLUT_220_H
#include "engine_common.h"
// GLUT routines
void engine_glut_220_reshape (int, int);
void engine_glut_220_key (unsigned char, int, int);
void engine_glut_220_key_special (int, int, int);
void engine_glut_220_menu (int);
void engine_glut_220_mouse_button (int, int, int, int);
void engine_glut_220_mouse_move (int, int);
void engine_glut_220_timer (int);
void engine_glut_220_draw (void);
void engine_glut_220_idle (void);
void engine_glut_220_visible (int);
struct Engine_OpenGL_GLUT_220_CBData
{
// context
float i;
float f;
int32_t m;
int32_t n;
int32_t mod;
// menu
bool wireframe;
// camera
struct Engine_GL_Camera camera;
// mouse
float angle;
float deltaAngle;
int xOrigin;
// save
int writeFrames;
};
#endif // GLUT_220_H