POV-Ray : Newsgroups : povray.newusers : CSG difference and 2D vectors : Re: CSG difference and 2D vectors Server Time
5 Nov 2024 18:23:03 EST (-0500)
  Re: CSG difference and 2D vectors  
From: Spider
Date: 26 Mar 1999 18:55:05
Message: <36FC1D56.90A66014@bahnhof.se>
Vincent Chevrier wrote:
> 
> Hi everybody,
> I'm a new user to POV-Ray and finally decided myself to ask for answers
> on problems I discovered these last days.
> 
<snip the csg> 
well, actually, I think it is the dual surface error, or something...

> - The second question deals with 2D vectors. Why is vlength(2*u)
> different from vlength(VectA), with VectA=2*u? (u=<1, 0>)
2 is promoted to <2,2,2,2,2>, or was it <2,2,2> ?
 
> #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
> 
> Thanks for any explanation...

-- 
//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

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