|
![](/i/fill.gif) |
> 53: Vec nl=n.dot(r.d)<0?n:n*-1;
>
> different from "nl = -abs(n.dot(r.d))"?
a?b:c evaluates to b if a is true, or c otherwise.
> Also, where THE HELL is "Xi" defined? I can see it *used* in several
> places, but I can't find a definitions.
Line 82, after the x=0 definition.
> Line 79 means each row of pixels is computed in parallel, right?
I guess so.
Post a reply to this message
|
![](/i/fill.gif) |