docs: function _getLocalRotationFromWorldRotation(transform) {
    if(transform.parent === undefined)
      return transform.rotation;
    else
      return transform.parent.rotation.inverse().mul(transform.rotation);
  }