(d: number)
| 43 | |
| 44 | const isTouch = typeof window !== 'undefined' && ('ontouchstart' in window || navigator.maxTouchPoints > 0); |
| 45 | const deg2rad = (d: number) => (d * Math.PI) / 180; |
| 46 | const DECIDE = 8; // px before we decide horizontal vs vertical |
| 47 | const ROTATE_SPEED = 0.005; |
| 48 | const INERTIA = 0.925; |
no outgoing calls
no test coverage detected