euv_core/game/fluid/sim/enum.rs
1/// Input driving mode selecting hardware sensors vs interactive virtual tilt/rotation controls.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum FluidSensorMode {
4 /// Automatically uses real hardware gyroscope/accelerometer when active, falling back to virtual tilt.
5 #[default]
6 Auto,
7 /// Strictly consumes live hardware `DeviceMotionSample` sensor data.
8 LiveHardware,
9 /// Uses desktop/simulator virtual tilt, rotation, and shake impulses while ignoring hardware sensors.
10 VirtualTilt,
11}
12
13/// Visual and physical classification of interactive buoyant bodies floating inside the liquid tank.
14#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
15pub enum BuoyantBodyKind {
16 /// Lightweight translucent coral-amber floating sphere (`ρ = 450 kg/m³`, ~45% submerged).
17 #[default]
18 FloatingOrb,
19 /// Crystalline translucent ice cube (`ρ = 917 kg/m³`, ~91.7% submerged).
20 IceCube,
21}