/// <summary> /// Applies the given rotation to the axis of this rotation. /// </summary> /// <param name="rotation"></param> public void RotateAxis(Quaterniond rotation) { _axis = rotation.Apply(_axis); }
/// <summary> /// /// </summary> /// <param name="r0"></param> /// <param name="r1"></param> /// <returns></returns> public static Quaterniond CreateFromTo(Quaterniond r0, Quaterniond r1) { return(r1.Apply(r0.Inverse)); }
/// <summary> /// Applies the given rotation to this object. /// </summary> /// <param name="rotation"></param> public void Rotate(Quaterniond rotation) { SetXY(rotation.Apply(_x), rotation.Apply(_y)); }