(key: f64)
| 243 | |
| 244 | #[wasm_bindgen] |
| 245 | pub fn bloom_is_key_pressed(key: f64) -> f64 { |
| 246 | if engine().input.is_key_pressed(key as usize) { 1.0 } else { 0.0 } |
| 247 | } |
| 248 | |
| 249 | #[wasm_bindgen] |
| 250 | pub fn bloom_is_key_down(key: f64) -> f64 { |
nothing calls this directly
no test coverage detected