--- ray/src/rt/ray.h 2003/07/14 22:24:00 2.20 +++ ray/src/rt/ray.h 2003/08/28 03:22:16 2.21 @@ -1,4 +1,4 @@ -/* RCSid $Id: ray.h,v 2.20 2003/07/14 22:24:00 schorsch Exp $ */ +/* RCSid $Id: ray.h,v 2.21 2003/08/28 03:22:16 greg Exp $ */ /* * ray.h - header file for routines using rays. */ @@ -41,8 +41,8 @@ typedef struct ray { int rsrc; /* source we're aiming for */ OBJECT *clipset; /* set of objects currently clipped */ OBJECT *newcset; /* next clipset, used for transmission */ - void (*revf)(); /* evaluation function for this ray */ - void (*hitf)(); /* custom hit test for this traversal */ + void (*revf)(struct ray *); /* evaluation function for this ray */ + void (*hitf)(OBJECT *, struct ray *); /* custom hit test */ OBJECT robj; /* intersected object number */ OBJREC *ro; /* intersected object (one with material) */ double rot; /* distance to object */