Slime <fak### [at] emailaddress> wrote:
> > #if (A.x-B.x<Threshold &
> > A.y-B.y<Threshold &
> > A.z-B.z<Threshold)
> A simpler (though slower) option is
> #if ( vlength(A-B) < Threshold )
Slower?-o
There's much less to parse there. POV-Ray will spend 99% of the time
parsing that expression and 1% of the time calculating its result. You
do the math on which option is faster.
--
- Warp
Post a reply to this message
|