euv-core 0.48.3

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Standard Earth gravitational acceleration magnitude in SI meters per second squared (`9.80665 m/s²`).
pub const STANDARD_GRAVITY_MPS2: f32 = 9.806_65;

/// Minimum viewport dimension or scale delta required before emitting a new normalized `Resize` event.
pub(crate) const RESIZE_DEDUP_EPSILON: f32 = 0.01;

/// Minimum virtual keyboard height change in logical pixels required to emit a new `KeyboardVisibilityChanged` event.
pub(crate) const KEYBOARD_HEIGHT_EPSILON: f32 = 0.5;

/// Default BCP-47 locale tag reported before an OS locale change arrives.
pub(crate) const DEFAULT_SYSTEM_LOCALE: &str = "en-US";

/// Upper physical clamp applied to sanitized accelerometer/gravity components in `m/s²`.
pub(crate) const MAX_SENSOR_ACCEL_MPS2: f32 = 120.0;

/// Upper physical clamp applied to sanitized gyroscope angular velocity components in `rad/s`.
pub(crate) const MAX_SENSOR_GYRO_RAD_S: f32 = 40.0;