MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bloom_get_touch_x

Function bloom_get_touch_x

native/watchos/src/lib.rs:271–275  ·  view source on GitHub ↗
(index: f64)

Source from the content-addressed store, hash-verified

269
270#[no_mangle]
271pub extern "C" fn bloom_get_touch_x(index: f64) -> f64 {
272 let s = state();
273 let i = index as usize;
274 if i < MAX_TOUCH { f64::from_bits(s.touch_x[i].load(Ordering::Acquire)) } else { 0.0 }
275}
276
277#[no_mangle]
278pub extern "C" fn bloom_get_touch_y(index: f64) -> f64 {

Callers

nothing calls this directly

Calls 1

stateFunction · 0.85

Tested by

no test coverage detected