in reply to Perl and Quaternions
The best way to do trigonometric operations with a computer is to convert between degrees and radians on the input/output layer and internally, on your program, use always radians.
Also, in order to manipulate 2D coordinates, using vector arithmetic would greatly simplify everything. For instance, check Math::Vector::Real.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl and Quaternions
by AppleFritter (Vicar) on May 08, 2014 at 09:50 UTC | |
by salva (Canon) on May 08, 2014 at 10:21 UTC |