-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglut_132.h
49 lines (39 loc) · 1.18 KB
/
glut_132.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
43
44
45
46
47
48
49
#ifndef GLUT_132_H
#define GLUT_132_H
//#include "noise/noise.h"
#include "opensimplexnoise.h"
#include "engine_common.h"
// GLUT routines
void engine_glut_132_reshape (int, int);
void engine_glut_132_key (unsigned char, int, int);
void engine_glut_132_key_special (int, int, int);
void engine_glut_132_menu (int);
void engine_glut_132_mouse_button (int, int, int, int);
void engine_glut_132_mouse_move (int, int);
void engine_glut_132_timer (int);
void engine_glut_132_draw (void);
void engine_glut_132_idle (void);
void engine_glut_132_visible (int);
struct Engine_OpenGL_GLUT_132_CBData
{
// context
float a;
float f;
// menu
bool wireframe;
// camera
struct Engine_GL_Camera camera;
// mouse
float angle;
float deltaAngle;
int xOrigin;
// noise
double x;
double y;
double z;
//noise::module::Perlin noise;
OpenSimplexNoise noise;
};
// other
void engine_glut_132_Z (int, int, struct Engine_OpenGL_GLUT_132_CBData&);
#endif // GLUT_132_H