16-bit easing functions
| 187 | |
| 188 | // 16-bit easing functions |
| 189 | u16 easeInQuad16(u16 i) { |
| 190 | // Simple quadratic ease-in: i^2 scaled to 16-bit range |
| 191 | // Using scale16(i, i) which computes (i * i) / 65535 |
| 192 | return scale16(i, i); |
| 193 | } |
| 194 | |
| 195 | u16 easeInOutQuad16(u16 x) { |
| 196 | // 16-bit quadratic ease-in / ease-out function |
no outgoing calls
no test coverage detected