scott wrote:
>> 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.
LPC might be a little different, but can't you negate a variable by
saying a=-a;? Saves a little CPU cost.
--
Tim Cook
http://empyrean.freesitespace.net