(dt)
| 1205 | } |
| 1206 | |
| 1207 | function updateColors (dt) { |
| 1208 | if (!config.COLORFUL) return; |
| 1209 | |
| 1210 | colorUpdateTimer += dt * config.COLOR_UPDATE_SPEED; |
| 1211 | if (colorUpdateTimer >= 1) { |
| 1212 | colorUpdateTimer = wrap(colorUpdateTimer, 0, 1); |
| 1213 | pointers.forEach(p => { |
| 1214 | p.color = generateColor(); |
| 1215 | }); |
| 1216 | } |
| 1217 | } |
| 1218 | |
| 1219 | function applyInputs () { |
| 1220 | if (splatStack.length > 0) |
no test coverage detected