mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Remove unused point function
This commit is contained in:
parent
91b6057d9c
commit
669771aba7
1 changed files with 0 additions and 16 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue