RT
All Data Structures Files Functions Variables Typedefs Macros
export.h
Go to the documentation of this file.
1 /* ************************************************************************** */
2 /* */
3 /* ::: :::::::: */
4 /* export.h :+: :+: :+: */
5 /* +:+ +:+ +:+ */
6 /* By: sklepper <sklepper@student.42.fr> +#+ +:+ +#+ */
7 /* +#+#+#+#+#+ +#+ */
8 /* Created: 2019/05/21 02:41:47 by nihuynh #+# #+# */
9 /* Updated: 2019/07/01 22:22:16 by sklepper ### ########.fr */
10 /* */
11 /* ************************************************************************** */
12 
13 #ifndef EXPORT_H
14 # define EXPORT_H
15 
16 # include <SDL.h>
17 
18 /*
19 ** Functions Expose :
20 */
21 
22 void plane_export(int fd, void *shape);
23 void sphere_export(int fd, void *shape);
24 void cone_export(int fd, void *shape);
25 void cylinder_export(int fd, void *shape);
26 void csg_export(int fd, void *shape);
27 void cube_export(int fd, void *shape);
28 void tore_export(int fd, void *shape);
29 void export_material(int fd, t_material *mat);
30 void set_win_title(SDL_Window *win, char *filename);
31 
32 /*
33 ** Functions Needed :
34 */
35 
36 void export_tvec3(int fd, char *name, t_vec3 vector);
37 void export_color(int fd, char *name, t_color color);
38 char *get_obj_str(int type);
39 
40 #endif
s_vec3
Definition: rtstruct.h:30
s_material
Definition: rtstruct.h:189
export_color
void export_color(int fd, char *name, t_color color)
Definition: export_toolbox.c:18
s_color
Definition: color.h:23
tore_export
void tore_export(int fd, void *shape)
Definition: export_toolbox.c:66
get_obj_str
char * get_obj_str(int type)
csg_export
void csg_export(int fd, void *shape)
Definition: export_csg.c:50
cone_export
void cone_export(int fd, void *shape)
Definition: export_shape.c:50
sphere_export
void sphere_export(int fd, void *shape)
Definition: export_shape.c:37
export_tvec3
void export_tvec3(int fd, char *name, t_vec3 vector)
Definition: export_toolbox.c:30
cylinder_export
void cylinder_export(int fd, void *shape)
Definition: export_shape.c:64
cube_export
void cube_export(int fd, void *shape)
Definition: export_shape.c:78
set_win_title
void set_win_title(SDL_Window *win, char *filename)
Definition: reload.c:77
plane_export
void plane_export(int fd, void *shape)
Definition: export_shape.c:18
export_material
void export_material(int fd, t_material *mat)
Definition: export_toolbox.c:36