(index: f64)
| 276 | |
| 277 | #[no_mangle] |
| 278 | pub extern "C" fn bloom_get_touch_y(index: f64) -> f64 { |
| 279 | let s = state(); |
| 280 | let i = index as usize; |
| 281 | if i < MAX_TOUCH { f64::from_bits(s.touch_y[i].load(Ordering::Acquire)) } else { 0.0 } |
| 282 | } |
| 283 | |
| 284 | #[no_mangle] |
| 285 | pub extern "C" fn bloom_get_touch_count() -> f64 { |