POV-Ray : Newsgroups : povray.bugreports : just a bug in the documentation! : Re: just a bug in the documentation! Server Time
23 Jun 2024 14:33:36 EDT (-0400)
  Re: just a bug in the documentation!  
From: Nieminen Mika
Date: 9 Jul 1999 03:44:36
Message: <3785a864@news.povray.org>
Uwe Zimmermann <uwe### [at] elekthse> wrote:
:  -it says under 'vector functions':

:   vcross(A,B) Cross product of A and B. Returns a vector that is the
: vector cross product of the two vectors. The resulting vector is
: perpendicular to the two original vectors and its length is proportional
: to the angle between them. See the animated demo scene VECT2.POV for an
: illustration. 
:   
:  -while it should say:

:   vcross(A,B) Cross product of A and B. Returns a vector that is the
: vector cross product of the two vectors. The resulting vector is
: perpendicular to the two original vectors and its length is equal to the
: area of the paralleogram defined by them. See the animated demo scene
: VECT2.POV for an illustration. 

  Your definition is absolutely right, but the original definition is too.
  Cross product can also be formulated as:

  AxB = |A| * |B| * sin(angle(A,B)) * perpendicular_unit_vector(A,B)

  So the length is proportional to the angle between them.
  Perhaps it should have a better wording, though.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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