|
|
-Commonly you might find yourself with a xref:jme3/matrix.adoc[Matrix] defining a xref:tutorials:rotate.adoc#toolbar[rotation]. In fact, it's very common to contain a rotation in a Matrix, create a Quaternion, rotate the Quaternion, and then get the Matrix back. Quaternion contains a `fromRotationMatrix` method that will create the appropriate Quaternion based on the given Matrix. The `toRotationMatrix` will populate a given Matrix.
|
|
|
+Commonly you might find yourself with a xref:jme3/matrix.adoc[Matrix] defining a xref:tutorials:rotate.adoc#[rotation]. In fact, it's very common to contain a rotation in a Matrix, create a Quaternion, rotate the Quaternion, and then get the Matrix back. Quaternion contains a `fromRotationMatrix` method that will create the appropriate Quaternion based on the given Matrix. The `toRotationMatrix` will populate a given Matrix.
|