object move tool
[retroray] / src / rt.h
index 4252281..9390bd9 100644 (file)
--- a/src/rt.h
+++ b/src/rt.h
@@ -39,8 +39,12 @@ struct csghit {
        int ivcount;
 };
 
-int ray_object(const cgm_ray *ray, const struct object *obj, struct csghit *hit);
+int ray_object(const cgm_ray *ray, const struct object *obj, struct rayhit *hit);
+int ray_object_csg(const cgm_ray *ray, const struct object *obj, struct csghit *hit);
+
 int ray_sphere(const cgm_ray *ray, const struct sphere *sph, struct csghit *hit);
 int ray_csg(const cgm_ray *ray, const struct csgnode *csg, struct csghit *hit);
 
+float ray_object_dist(const cgm_ray *ray, const struct object *obj);
+
 #endif /* RT_H_ */