src/Quaternion.js
function _getAngleAxis(quaternion) {
  return function() {
    var sqrt = Math.sqrt(1 - quaternion.w * quaternion.w);
    return {
      axis: new Vector3(quaternion.x / sqrt, quaternion.y / sqrt, quaternion.z / sqrt),
      angle: 2 * Math.acos(quaternion.w) * radToDeg
    };
  }
}
function _getAngleAxis(quaternion) {
  return function() {
    var sqrt = Math.sqrt(1 - quaternion.w * quaternion.w);
    return {
      axis: new Vector3(quaternion.x / sqrt, quaternion.y / sqrt, quaternion.z / sqrt),
      angle: 2 * Math.acos(quaternion.w) * radToDeg
    };
  }
}
function _getAngleAxis ( quaternion ) { return function ( ) { var sqrt = Math . sqrt ( 1 - quaternion . w * quaternion . w ) ; return { axis : new Vector3 ( quaternion . x / sqrt , quaternion . y / sqrt , quaternion . z / sqrt ) , angle : 2 * Math . acos ( quaternion . w ) * radToDeg } ; } }
Returns the angle axis representation for the quaternion with angle in degrees

@param {Quternion} quaternion
@returns {Object} angleAxis: {axis:_Vector3_, angle:_}
Returns the angle axis representation for the quaternion with angle in degrees