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