-> True, the triangle must be oriented correctly for the trivial
-> solution. It always works perfectly in trig class :)
Right! Of course, it is possible to rotate any triangle into the correct
orientation, but this would make the method a whole lot more complicated
than others...
-> I don't see a really fast method in any of these. I betcha there is a
-> much faster method lurking out there,
I can't think that anything would be much simpler and faster than the
method I posted, involving just calculating a couple of ATNs and
subtracting the results from each other. (Incidentally, after posting
some code that does the job that way, I thought of a way of streamlining
it a tad further. But it wouldn't make much difference.)
dow
--- PCBoard (R) v15.3 (OS/2) 5
---------------
* Origin: FidoNet: CAP/CANADA Support BBS : 416 287-0234 (1:250/710)
|