1 |
< |
/* Copyright (c) 1993 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1994 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
602 |
|
{ |
603 |
|
static RAY thisray; |
604 |
|
|
605 |
< |
if (viewray(thisray.rorg, thisray.rdir, &ourview, |
606 |
< |
(x+pixjitter())/hres, (y+pixjitter())/vres) < 0) { |
605 |
> |
if ((thisray.rmax = viewray(thisray.rorg, thisray.rdir, &ourview, |
606 |
> |
(x+pixjitter())/hres, (y+pixjitter())/vres)) < -FTINY) { |
607 |
|
setcolor(col, 0.0, 0.0, 0.0); |
608 |
|
return(0.0); |
609 |
|
} |