Remove unused point function

This commit is contained in:
Mark Tolmacs 2024-09-27 16:01:48 +02:00
parent 91b6057d9c
commit 669771aba7
No known key found for this signature in database

View file

@ -102,22 +102,6 @@ export function pointRotateRads<Point extends GenericPoint>(
); );
} }
/**
* 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<Point extends GenericPoint>(
p: Point[],
c: Point,
angle: Radians,
): Point[] {
return p.map((x, idx) => pointRotateRads(x, c, angle));
}
/** /**
* Roate a point by [angle] degree. * Roate a point by [angle] degree.
* *