There is geometry behind that little snipet of code. What appears like an invention to solve quadratic equations turns into a geometric metaphor, for 90o rotation on a two dimensional euclidean plane.
Now we have:
i⋅ i = -1 , j⋅ j = -1, k⋅ k = -1
Together with:
1⋅ 1 = 1, and i⋅ j = k, j⋅ k = i, k⋅ i = j, j⋅ i = -k, k⋅ j =-i, i⋅ k = -j.
We get rotations in four dimensional space.
These are nice constructs. It happens that:
I start reflexions on these issues with this note.
No comments:
Post a Comment