|
|
|
@ -10,6 +10,8 @@ struct object* new_tree(struct vec *, double, double);
@@ -10,6 +10,8 @@ struct object* new_tree(struct vec *, double, double);
|
|
|
|
|
struct object new_object(struct vec *, double, double, double (*) (struct vec *), |
|
|
|
|
struct colour (*)(struct ray *, struct object *)); |
|
|
|
|
|
|
|
|
|
struct object new_plane(struct vec* position, double rotation, double scale);
|
|
|
|
|
|
|
|
|
|
double sdf_box(struct vec *); |
|
|
|
|
double sdf_hplane(struct vec *); |
|
|
|
|
double sdf_phat_vert_line(struct vec *); |
|
|
|
@ -20,5 +22,6 @@ struct colour yeet_col(struct ray *);
@@ -20,5 +22,6 @@ struct colour yeet_col(struct ray *);
|
|
|
|
|
double sdf_3ellipsoid(struct vec *x);
|
|
|
|
|
double sdf_4ellipsoid(struct vec *x);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|