Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Perl and Quaternions

by salva (Abbot)
on May 08, 2014 at 10:21 UTC ( #1085436=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Perl and Quaternions
in thread Perl and Quaternions

Oh, ok, I got confused because of the X, Y names. 2D and 3D coordinates are promoted to quaternions as {0, x, y, z} and seeing {x, 0, 0, y} didn't feel right!

In any case, for 2D rotations, quaternions are overkill. You can just use complex numbers.

Comment on Re^3: Perl and Quaternions
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1085436]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2015-11-30 22:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (786 votes), past polls