POV-Ray : Newsgroups : povray.bugreports : just a bug in the documentation! : just a bug in the documentation! Server Time
23 Jun 2024 14:46:05 EDT (-0400)
  just a bug in the documentation!  
From: Uwe Zimmermann
Date: 9 Jul 1999 03:25:48
Message: <3785A3FB.B59AD46A@ele.kth.se>
Hej POV team!

I don't want to mess up your time while heading for 3.5, but yesterday I
stumbled over a little bug in the POVray documentation (Win-Help file
v3.1e, put perhaps elsewhere as well):

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

and just a proposal for a better formulation:

 -it says under 'float functions':

  vdot(V1,V2) Dot product of V1 and V2. Returns a float value that is
the dot product (sometimes called scalar product of V1 with V2. Formula
is vdot=V1.x*V2.x + V1.y*V2.y + V1.z*V2.z. See the animated demo scene
VECT2.POV for an illustration. 

 -it's completely ok, but it might be better this way:

  vdot(V1,V2) Dot product of V1 and V2. Returns a float value that is
the dot product (sometimes called scalar product) of V1 with V2. It is
directly proportional to the length of the two vectors and the cosine of
the angle between them. Formula is vdot=V1.x*V2.x + V1.y*V2.y +
V1.z*V2.z. See the animated demo scene VECT2.POV for an illustration. 


Uwe.


Post a reply to this message

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