|
|
Josh English <eng### [at] spiritonecom> wrote:
: Of course, if you are using the vcross command to find your
: normals, remember that the length of the resultant vector has a length
: of the dot product, which will be at it's maximum when the vectors are
: orthogonal (ie, 90 degrees apart).
Actually, the length of the normal vector calculated using cross-product
of two vectors is (also) exactly the area of the parallelogram formed by the
two vectors.
To get the area of the triangle formed by the two vectors, divide the
length of the cross-product by 2.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|