anchor.diff:  = Quaternion
  -:author:
  -:revnumber:
  -:revdate: 2016/03/17 20:48
  -:relfileprefix: ../
  -:imagesdir: ..
  -ifdef::env-github,env-browser[:outfilesuffix: .adoc]
  +:revnumber: 2.0
  +:revdate: 2020/07/15
   
   
   
  
positive.code: 
  === Three Axes
  
  If you have three axes that define your rotation, where the axes define the left axis, up axis and directional axis respectively) you can make use of `fromAxes` to generate the Quaternion. It should be noted that this will generate a new <<jme3/matrix#,Matrix>> object that is then garbage collected, thus, this method should not be used if it will be called many times. Again, `toAxes` will populate a xref:tutorials:intermediate/terminology.adoc#vectors[Vector3f] array.
  
  
  ==== Example - Rotate a Spatial Using fromAxes
  
negative.code: ----
  
  ---
  *  See xref:tutorials:intermediate/rotate.adoc[3D-Rotations] for troubleshooting and extra information on using quaternions.
  