RT
t_settings.h
Go to the documentation of this file.
1 /* ************************************************************************** */
2 /* */
3 /* ::: :::::::: */
4 /* t_settings.h :+: :+: :+: */
5 /* +:+ +:+ +:+ */
6 /* By: nihuynh <nihuynh@student.42.fr> +#+ +:+ +#+ */
7 /* +#+#+#+#+#+ +#+ */
8 /* Created: 2019/06/03 00:13:33 by nihuynh #+# #+# */
9 /* Updated: 2019/06/25 21:41:36 by nihuynh ### ########.fr */
10 /* */
11 /* ************************************************************************** */
12 
13 #ifndef T_SETTINGS_H
14 # define T_SETTINGS_H
15 
16 # include "color.h"
17 # include <stdbool.h>
18 
19 typedef struct s_settings
20 {
24  bool light;
25  bool facing;
26  bool shine;
27  bool shadow;
28  bool deflect;
29  bool absorb;
30  bool anti_a;
33  bool skybox;
34  int depth_max;
35  float fov;
36 } t_settings;
37 
38 #endif
s_settings::absorb
bool absorb
Definition: t_settings.h:29
s_settings::shine
bool shine
Definition: t_settings.h:26
s_settings
Definition: t_settings.h:19
t_settings
struct s_settings t_settings
s_settings::light
bool light
Definition: t_settings.h:24
s_settings::deflect
bool deflect
Definition: t_settings.h:28
s_settings::skybox
bool skybox
Definition: t_settings.h:33
s_color
Definition: color.h:23
s_settings::anti_a
bool anti_a
Definition: t_settings.h:30
s_settings::normal_mapping
bool normal_mapping
Definition: t_settings.h:32
s_settings::facing
bool facing
Definition: t_settings.h:25
s_settings::fov
float fov
Definition: t_settings.h:35
s_settings::shadow
bool shadow
Definition: t_settings.h:27
s_settings::debug_normal
bool debug_normal
Definition: t_settings.h:31
s_settings::filter
t_color filter
Definition: t_settings.h:23
s_settings::back_color
t_color back_color
Definition: t_settings.h:21
s_settings::amb_light
t_color amb_light
Definition: t_settings.h:22
color.h
s_settings::depth_max
int depth_max
Definition: t_settings.h:34