{"id":59,"date":"2013-11-08T15:46:23","date_gmt":"2013-11-08T15:46:23","guid":{"rendered":"\/\/3dbym.ru\/2013\/11\/quaternion-conversions\/"},"modified":"2013-11-08T15:46:23","modified_gmt":"2013-11-08T15:46:23","slug":"quaternion-conversions","status":"publish","type":"post","link":"https:\/\/3dbym.ru\/2013\/11\/quaternion-conversions\/","title":{"rendered":"Quaternion Conversions"},"content":{"rendered":"
Because of the complicated nature of quaternions, it is not always feasible to specify a quaternion rotation directly. Instead, you might want to specify a set of three Euler angles, or perhaps a rotation around an arbitrary axis, particularly if you need to retrieve input from a user. An average human being would have a hard time trying to enter a rotation quaternion and would much rather enter a set of Euler angles. For purposes of transforming vertices or other game components, you may require a rotation matrix instead of a quater\u00adnion. This is no problem; you can convert between all of these ele\u00adments with very little effort. The next section begins with quaternion to matrix conversion.<\/p>\n","protected":false},"excerpt":{"rendered":"
Because of the complicated nature of quaternions, it is not always feasible to specify a quaternion rotation directly. Instead, you might want to specify a set of three Euler angles, or perhaps a rotation around an arbitrary axis, particularly if you need to retrieve input from a user. An average human being would have a […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts\/59"}],"collection":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3dbym.ru\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}