58 |
|
r->crtype = r->rtype = rt; |
59 |
|
r->rsrc = -1; |
60 |
|
r->clipset = NULL; |
61 |
+ |
r->revf = raytrace; |
62 |
|
copycolor(r->cext, cextinction); |
63 |
|
copycolor(r->albedo, salbedo); |
64 |
|
r->gecc = seccg; |
79 |
|
r->clipset = ro->newcset; |
80 |
|
r->rmax = ro->rmax <= FTINY ? 0.0 : ro->rmax - ro->rot; |
81 |
|
} |
82 |
+ |
r->revf = ro->revf; |
83 |
|
copycolor(r->cext, ro->cext); |
84 |
|
copycolor(r->albedo, ro->albedo); |
85 |
|
r->gecc = ro->gecc; |
120 |
|
|
121 |
|
|
122 |
|
extern void |
123 |
< |
rayvalue( /* trace a ray and compute its value */ |
123 |
> |
raytrace( /* trace a ray and compute its value */ |
124 |
|
RAY *r |
125 |
|
) |
126 |
|
{ |