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