{"id":56,"date":"2013-11-08T15:46:23","date_gmt":"2013-11-08T15:46:23","guid":{"rendered":"\/\/3dbym.ru\/2013\/11\/multiplying-quaternions\/"},"modified":"2013-11-08T15:46:23","modified_gmt":"2013-11-08T15:46:23","slug":"multiplying-quaternions","status":"publish","type":"post","link":"https:\/\/3dbym.ru\/2013\/11\/multiplying-quaternions\/","title":{"rendered":"Multiplying Quaternions"},"content":{"rendered":"
As you read in the first part of this chapter, some operations that are normally performed on matrices can be done much cheaper with quaternions. One of these is multiplication. Multiplying two quater\u00adnions together has the same effect as multiplying their corresponding rotation matrices, but at a lower computational cost. Multiplying two rotation quaternions will cause the rotations to become concatenated, or strung together in a series. For example, if one rotation represents a rotation around the X axis and another rotation matrix represents a rotation around the Y axis, multiplying them together will create a matrix that represents a rotation around the X and Y axes. The for\u00admula for quaternion multiplication is shown in Figure 2.3.<\/p>\n