POV-Ray : Newsgroups : povray.advanced-users : For the math minded people : Re: For the math minded people Server Time
30 Jul 2024 06:24:35 EDT (-0400)
  Re: For the math minded people  
From: Ron Parker
Date: 10 Jul 2000 21:36:35
Message: <slrn8mkvbs.pr2.ron.parker@linux.parkerr.fwi.com>
On 10 Jul 2000 19:26:37 -0400, Warp wrote:
>Josh English <eng### [at] spiritonecom> wrote:
>: Why add the <0,0,0>? It doesn't contribute anything.
>
>  It converts the parameter to a vector. The parameter may be a single number.

Come to think of it, it's not necessary.  If either parameter is a vector, the
expression will be promoted at the addition stage, and if both are floats, it
will be promoted prior to taking the length.  So it really doesn't contribute
anything.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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