UNPKG

@mui/x-internal-gestures

Version:

The core engine of GestureEvents, a modern and robust multi-pointer gesture detection library for JavaScript.

6 lines 268 B
import { PointerData } from "../PointerManager.js"; /** * Calculate the rotation angle between pointers * This uses the angle between the first two pointers relative to the centroid */ export declare function calculateRotationAngle(pointers: PointerData[]): number;