good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Code refactoring: simple trig, but it's been so long.by revdiablo (Prior) |
on Dec 30, 2004 at 04:36 UTC ( [id://418177]=note: print w/replies, xml ) | Need Help?? |
you only need to find one displacement vector Ah yes, this is true. Nice idea. I'll use this as well, thanks. you won't really need to use sine/cosine, just tangent But there's no builtin tangent function, which means I'll either have to use Math::Trig, or roll my own tan, in terms of sin and cos anyway, right? Or is there something I'm missing?
In Section
Seekers of Perl Wisdom
|
|