|
|
In article <36FC1532.6F427660@club-internet.fr> , Vincent Chevrier
<vch### [at] club-internetfr> wrote:
> - The second question deals with 2D vectors. Why is vlength(2*u)
> different from vlength(VectA), with VectA=2*u? (u=<1, 0>)
>
> #declare vectA = 2*u;
> #declare vectB = <2, 0>;
> #debug concat(str(vlength(2*u),1,1), " - ", str(vlength(vectA),1,1),
> " - ", str(vlength(vectB),1,1))
>
> gives : 2.0 - 3.5 - 3.5
I suppose you are using the Windows version, right? Then it is likely a
Windows POV-Ray bug because on the Mac this prints as expected: three times
2.0.
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: pov### [at] csicom
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://www.povray.org and
http://ourworld.compuserve.com/homepages/povraymac/
Post a reply to this message
|
|
|
|
actually, on my win 3.1e it gives :
-nan - 2.0 - 2.0
So I think my first reply was a bit hasty.
--
//Spider
[ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
"Marian"
By: "Sisters Of Mercy"
Post a reply to this message
|
|