--- ray/src/rt/ray.h 1996/06/05 11:27:30 2.9 +++ ray/src/rt/ray.h 1997/03/07 16:53:02 2.11 @@ -42,7 +42,8 @@ typedef struct ray { OBJECT *clipset; /* set of objects currently clipped */ OBJECT *newcset; /* next clipset, used for transmission */ int (*revf)(); /* evaluation function for this ray */ - OBJREC *ro; /* intersected object */ + OBJECT robj; /* intersected object number */ + OBJREC *ro; /* intersected object (one with material) */ double rot; /* distance to object */ FVECT rop; /* intersection point */ FVECT ron; /* intersection surface normal */