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 reply to Re^2: Code refactoring: simple trig, but it's been so long.
by revdiablo
in thread Code refactoring: simple trig, but it's been so long.
by revdiablo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |