securityos/node_modules/framer-motion/dist/es/projection/geometry/models.mjs

18 lines
374 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
const createAxisDelta = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0,
});
const createDelta = () => ({
x: createAxisDelta(),
y: createAxisDelta(),
});
const createAxis = () => ({ min: 0, max: 0 });
const createBox = () => ({
x: createAxis(),
y: createAxis(),
});
export { createAxis, createAxisDelta, createBox, createDelta };