27 struct hinterv *alloc_hits(int n);
28 void free_hit(struct hinterv *hv);
29 void free_hit_list(struct hinterv *hv);
31 struct hinterv *ray_intersect(struct ray *ray, csg_object *o);
33 struct hinterv *ray_sphere(struct ray *ray, csg_object *o);
34 struct hinterv *ray_cylinder(struct ray *ray, csg_object *o);
35 struct hinterv *ray_plane(struct ray *ray, csg_object *o);
36 struct hinterv *ray_csg_un(struct ray *ray, csg_object *o);
37 struct hinterv *ray_csg_isect(struct ray *ray, csg_object *o);
38 struct hinterv *ray_csg_sub(struct ray *ray, csg_object *o);
40 void xform_ray(struct ray *ray, float *mat);