POV-Ray : Newsgroups : povray.programming : [RFC] Little isosurface patch ? : Re: [RFC] Little isosurface patch ? Server Time
3 Jul 2024 05:42:45 EDT (-0400)
  Re: [RFC] Little isosurface patch ?  
From: Thorsten Froehlich
Date: 26 Feb 2004 20:55:33
Message: <403ea395$1@news.povray.org>
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] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.