-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.h
40 lines (36 loc) · 1.38 KB
/
env.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* env.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bmikaeli <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/02/16 18:13:55 by tdemay #+# #+# */
/* Updated: 2014/03/17 13:18:57 by bmikaeli ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ENV_H
# define ENV_H
# include "scene.h"
# include "light.h"
# include "cam.h"
/*
** \typedef t_env
** \struct s_env
** \brief Object environnement.
** \author tdemay
**
** t_env contient l'environnement global du programme.
** MLX et WIN concerne la minilibx.
** cam va contenir notre object/structure t_cam (cf. cam.h)
** s va contenir notre object/structure t_scene (cf. scene.h)
*/
typedef struct s_env
{
void *mlx;
void *win;
t_cam *cam;
t_scene *s;
t_light **l;
} t_env;
#endif /* !ENV_H */