@mui/x-internal-gestures
Version:
The core engine of GestureEvents, a modern and robust multi-pointer gesture detection library for JavaScript.
14 lines • 689 B
TypeScript
/**
* Utility functions for gesture calculations
* Re-exporting all utility functions from their individual files
*/
export { calculateAverageDistance } from "./calculateAverageDistance.js";
export { calculateCentroid } from "./calculateCentroid.js";
export { calculateRotationAngle } from "./calculateRotationAngle.js";
export { createEventName } from "./createEventName.js";
export { getAngle } from "./getAngle.js";
export { getDirection } from "./getDirection.js";
export { getDistance } from "./getDistance.js";
export { getVelocity } from "./getVelocity.js";
export { isDirectionAllowed } from "./isDirectionAllowed.js";
export { getPinchDirection } from "./getPinchDirection.js";