-=> Quoting David Williams to Rick Pedley <=-
DW> I'm getting carried away with this. Where are the men in white
DW> coats?...
DW> I coded up the cosine-rule method. It's not too bad. Just two SQRs and
DW> one ATN in the actual calculation, plus one ATN to find pi.
DW> 100 'calculate angle defined by x,y of 3 points
Thanks for posting. It would be useful had the original poster told
us exactly what he needed it for. BTW, I notice you're using line
numbers here; is that your usual practice or is this older code you
have modified?
--- Blue Wave/DOS v2.20
---------------
* Origin: ...the vented spleen - kingston on (613) 544-9332 (1:249/139)
|