From 669771aba7b016527b3392b878541cbe84b4d72a Mon Sep 17 00:00:00 2001 From: Mark Tolmacs Date: Fri, 27 Sep 2024 16:01:48 +0200 Subject: [PATCH] Remove unused point function --- packages/math/point.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/math/point.ts b/packages/math/point.ts index 0fd3ad26c6..471eab8765 100644 --- a/packages/math/point.ts +++ b/packages/math/point.ts @@ -102,22 +102,6 @@ export function pointRotateRads( ); } -/** - * Rotate multiple points around a common center via the same angle in radians - * - * @param p The point array to rotate - * @param c The common center point - * @param angle The common angle to rotate by - * @returns The array of rotated points - */ -function pointsRotateRads( - p: Point[], - c: Point, - angle: Radians, -): Point[] { - return p.map((x, idx) => pointRotateRads(x, c, angle)); -} - /** * Roate a point by [angle] degree. *