161 |
|
setcolor(mext, m->oargs.farg[0], m->oargs.farg[1], |
162 |
|
m->oargs.farg[2]); |
163 |
|
raytexture(r, m->omod); /* get modifiers */ |
164 |
< |
multcolor(mext, r->pcol); |
164 |
> |
multscolor(mext, r->pcol); |
165 |
|
} else |
166 |
|
setcolor(mext, 0., 0., 0.); |
167 |
|
/* start transmitted ray */ |
217 |
|
p.gecc = seccg; |
218 |
|
} |
219 |
|
rayvalue(&p); /* calls rayparticipate() */ |
220 |
< |
copycolor(r->rcol, p.rcol); /* return value */ |
220 |
> |
copyscolor(r->rcol, p.rcol); /* return value */ |
221 |
> |
copyscolor(r->mcol, p.mcol); |
222 |
|
r->rmt = r->rot + p.rmt; |
223 |
|
r->rxt = r->rot + p.rxt; |
224 |
|
return(1); |