-
Notifications
You must be signed in to change notification settings - Fork 0
/
Intro.h
64 lines (52 loc) · 1.52 KB
/
Intro.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef INTRO_H_INCLUDED
#define INTRO_H_INCLUDED
#include "glew.h"
#include <GLFW/glfw3.h>
#include "Variables.h"
#include "fonctions.h"
#include "Champ_Etoiles.h"
class Intro
{
public:
static Repere obs;
static float aX;
static float aY;
static float aZ;
static float aR;
static float aT;
static float aL;
//Sprite oeil logo Mankind:
static float mkdX;
static float mkdY;
static float mkdsX;
static float mkdsY;
//Commandes clavier:
static bool dep_droite;
static bool dep_gauche;
static bool dep_haut;
static bool dep_bas;
static bool dep_avant;
static bool dep_arriere;
static bool rot_droite;
static bool rot_gauche;
static bool rot_haut;
static bool rot_bas;
static bool rot_r_gauche;
static bool rot_r_droite;
static int depId;
static float nebuleuseH;
static float nebuleuseR;
static float C_amb[4];
static float L1_intensite;
static float L1_couleur[3];
static Champ_Etoiles* starfield;
static bool init_scene();
static void detruit_scene();
static void clavier(int key,bool etat);
static void maj_deplacement();
static void init_affiche();
static void eclairages();
static void affiche();
static void render_scene();
};
#endif // INTRO_H_INCLUDED