-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlight.h
43 lines (38 loc) · 1.44 KB
/
light.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* light.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tdemay <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/03/14 13:36:07 by aelola #+# #+# */
/* Updated: 2014/03/16 18:25:40 by tdemay ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LIGHT_H
# define LIGHT_H
# include "vector.h"
# include "color.h"
/*
** \typedef t_light
** \struct s_light
** \brief Object light.
** \author tdemay
**
** t_cam est un objet/structure contenant les configurations de la camera
** permettant la génération de la prise de vue dans l'espace en raytracing.
*/
typedef struct s_light
{
t_vect *pos;
t_color *clr;
} t_light;
/*
** \fn t_light *make_light(t_vect *p, t_color *c)
** \brief declaration de la lumiere
** \author aelola
**
** \param
*/
t_light *make_light(t_vect *p, t_color *c);
#endif /* !LIGHT_H */