import { createContext as o } from "react";
function r(t, a, e) {
  if (e)
    return Math.abs(r(t, e) - r(a, e));
  for (var n = Math.atan2(a.y - t.y, a.x - t.x); n < 0; )
    n += 2 * Math.PI;
  return n;
}
const l = o({
  options: {}
});
l.displayName = "DrawableContext";
export {
  l as DrawableContext,
  r as calAngle
};
