114 |
|
) |
115 |
|
{ |
116 |
|
unsigned long vcount = (hresolu > 1) ? (unsigned long)hresolu*vresolu |
117 |
< |
: vresolu; |
117 |
> |
: (unsigned long)vresolu; |
118 |
|
long nextflush = (vresolu > 0) & (hresolu > 1) ? 0 : hresolu; |
119 |
|
FILE *fp; |
120 |
|
double d; |
642 |
|
) |
643 |
|
{ |
644 |
|
RREAL contr[3]; |
645 |
+ |
/* shadow ray not on source? */ |
646 |
+ |
if (r->rsrc >= 0 && source[r->rsrc].so != r->ro) |
647 |
+ |
setcolor(contr, 0.0, 0.0, 0.0); |
648 |
+ |
else |
649 |
+ |
raycontrib(contr, r, PRIMARY); |
650 |
|
|
646 |
– |
raycontrib(contr, r, PRIMARY); |
651 |
|
(*putreal)(contr, 3); |
652 |
|
} |
653 |
|
|