- float dist; //< parametric distance along the ray
- Vec3 pos; //< position of intersection (orig + dir * dist)
- Vec3 normal; //< normal at the point of intersection
- const void *obj; //< pointer to the intersected object
- const SceneNode *node;
- Ray ray;
+ float dist; // parametric distance along the ray
+ Vec3 pos; // position of intersection (orig + dir * dist)
+ Vec3 normal; // normal at the point of intersection
+ Ray ray, local_ray;
+ const GeomObject *obj; // pointer to the intersected geom-object
+ void *data; // place to hang extra data