-
Notifications
You must be signed in to change notification settings - Fork 0
/
sphere.h
executable file
·23 lines (19 loc) · 1.13 KB
/
sphere.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* sphere.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mpaziuk <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/09/13 15:16:39 by mpaziuk #+# #+# */
/* Updated: 2017/09/13 15:16:40 by mpaziuk ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SPHERE_H
# define SPHERE_H
# include "types.h"
int intersect_sphere(t_ray *r, void *d, double *t);
t_vector get_pos_sphere(void *data);
t_material get_material_sphere(void *data);
t_object *new_sphere(t_vector pos, double radius, t_material mat);
#endif