POV-Ray : Newsgroups : povray.newusers : Extracting x value from a vector : Re: Extracting x value from a vector Server Time
6 Sep 2024 04:21:17 EDT (-0400)
  Re: Extracting x value from a vector  
From: Thorsten Froehlich
Date: 12 Feb 1999 02:10:08
Message: <36c3d3d0.0@news.povray.org>
In article <36c3363e.0@news.povray.org> , Nieminen Mika <war### [at] cctutfi>  
wrote:

>   I dont think so.
>   If Myvector is <2,3,4>, Myvector.x is the float value 2 while
> Myvector*<1,0,0> is the vector value <2,0,0>.

Hmm, this depends on the definition of the "*", it could mean dot product or
cross product...but in POV-Ray it is simply  <v1.x * v2.x, v1.y * v2.y, v1.z
* v2.z>.


    Thorsten


Post a reply to this message

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