In article <403f5224@news.povray.org> , Wolfgang Wieser <wwi### [at] gmx de>
wrote:
> The 1e-14 is just there to prevent a division by zero in
> case the isosurface has zero gradient (along the ray) at the
> intersection. Maybe we can even use smaller values.
You really don't want an unnecessary division is such heavily used code.
Doesn't "len" provide you with all you need?
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|