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

Function bloom_get_touch_y

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

Source from the content-addressed store, hash-verified

276
277#[no_mangle]
278pub 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]
285pub extern "C" fn bloom_get_touch_count() -> f64 {

Callers

nothing calls this directly

Calls 1

stateFunction · 0.85

Tested by

no test coverage detected