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

Method get_touch_x

native/shared/src/input.rs:250–252  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

248 }
249 }
250 pub fn get_touch_x(&self, index: usize) -> f64 {
251 if index < MAX_TOUCH_POINTS { self.touch_points[index].x } else { 0.0 }
252 }
253 pub fn get_touch_y(&self, index: usize) -> f64 {
254 if index < MAX_TOUCH_POINTS { self.touch_points[index].y } else { 0.0 }
255 }

Callers 7

bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80
bloom_get_touch_xFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected