5,391
edits
m (basic info on overlay TRAMs) |
m (→Overlay TRAM) |
||
Line 25: | Line 25: | ||
:For the other overlay TRAMs, the "used parts" are 0x00010000 (chest), and the "replace parts" vary. | :For the other overlay TRAMs, the "used parts" are 0x00010000 (chest), and the "replace parts" vary. | ||
::[[User:Geyser|geyser]] 00:33, 28 January 2007 (CET) | ::[[User:Geyser|geyser]] 00:33, 28 January 2007 (CET) | ||
==Quaternions== | |||
:[http://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation HERE] is a rather tedious page on quaternions and rotations. Just scroll down past the blabla ^^ | |||
===Quaternion=== | |||
:A quaternion is something like this: | |||
::i x + j y + k z + w | |||
:where i, j and k are 3 imaginary numbers defined by: | |||
::i²=j²=k²=ijk=-1 | |||
:The pairwise multiplication rules can be inferred from the above. | |||
::ij=k, ji=-k, ... | |||
:Note that multiplication is ''not'' commutative. | |||
===Rotations=== | |||
:A unit quaternion is such that x²+y²+z²+w²=1 | |||
:A unit quaternion corresponds to a rotation about the axis (x,y,z) with angle (2 arccos w) | |||
===More=== | |||
:Later |