Why not just
if(EP2->f < 0)
{
if(EP1->f > 0.0)
ISOSRF->tl = 0.5*(EP2->t+EP1->t);
else
ISOSRF->tl = EP2->t;
return true;
}
else return false;
???
Thorsten
PS: You should really consider using a sane tab width with something like
four spaces per tab, and not unreadable eight spaces per tab!
____________________________________________________
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
|