adjustAngle.js 214 B

12345678
  1. export function adjustAngle(theta, min, max) {
  2. while (theta < min)
  3. theta += Math.PI * 2;
  4. while (theta > max)
  5. theta -= Math.PI * 2;
  6. return theta;
  7. }
  8. //# sourceMappingURL=adjustAngle.js.map