| 4 | import { useEffect, useRef } from "react"; |
| 5 | |
| 6 | interface BalatroProps { |
| 7 | spinRotation?: number; |
| 8 | spinSpeed?: number; |
| 9 | offset?: [number, number]; |
| 10 | color1?: string; |
| 11 | color2?: string; |
| 12 | color3?: string; |
| 13 | contrast?: number; |
| 14 | lighting?: number; |
| 15 | spinAmount?: number; |
| 16 | pixelFilter?: number; |
| 17 | spinEase?: number; |
| 18 | isRotate?: boolean; |
| 19 | mouseInteraction?: boolean; |
| 20 | opacity?: number; |
| 21 | } |
| 22 | |
| 23 | function hexToVec4(hex: string): [number, number, number, number] { |
| 24 | const hexStr = hex.replace("#", ""); |
nothing calls this directly
no outgoing calls
no test coverage detected