RT
lib
librt
includes
csg.h
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* csg.h :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: sklepper <sklepper@student.42.fr> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2019/07/05 19:02:52 by sklepper #+# #+# */
9
/* Updated: 2019/07/18 18:27:42 by sklepper ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#ifndef CSG_H
14
# define CSG_H
15
16
# include "
rtstruct.h
"
17
18
typedef
struct
s_csg_op
19
{
20
int
type
;
21
}
t_csg_op
;
22
23
typedef
struct
s_inter_csg
t_inter_csg
;
24
25
struct
s_inter_csg
26
{
27
t_inter
inter
;
28
t_inter_csg
*
next
;
29
};
30
31
bool
is_inside_cone
(
t_inter
*inter);
32
t_inter
not_plane
(
t_inter
core,
t_inter
sub);
33
34
#endif
s_csg_op::type
int type
Definition:
csg.h:20
is_inside_cone
bool is_inside_cone(t_inter *inter)
Definition:
inter_csg_spe.c:30
s_inter_csg::next
t_inter_csg * next
Definition:
csg.h:28
s_inter_csg::inter
t_inter inter
Definition:
csg.h:27
s_csg_op
Definition:
csg.h:18
rtstruct.h
not_plane
t_inter not_plane(t_inter core, t_inter sub)
Definition:
inter_csg_spe.c:93
s_inter_csg
Definition:
csg.h:25
s_inter
Definition:
rtstruct.h:218
t_csg_op
struct s_csg_op t_csg_op
Generated by
1.8.17