POV-Ray : Newsgroups : povray.advanced-users : For the math minded people : Re: For the math minded people Server Time
30 Jul 2024 06:25:44 EDT (-0400)
  Re: For the math minded people  
From: Josh English
Date: 10 Jul 2000 18:42:21
Message: <396A5184.7D17EE41@spiritone.com>
Why add the <0,0,0>? It doesn't contribute anything.

Josh

Ron Parker wrote:

> On 10 Jul 2000 17:09:38 -0400, Warp wrote:
> >  Come on, it's povray. There's the easy way:
> >
> >vlength(<2,3,4>-<7-8,3>)
>
> #macro DistanceBetweenPoints( A, B )
>   vlength(<0,0,0>+A-B)
> #end
>
> --
> Ron Parker   http://www2.fwi.com/~parkerr/traces.html
> My opinions.  Mine.  Not anyone else's.

--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

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