705 B
705 B
Input
Input is currently Win32-backed and intentionally small.
Flow
Win32Windowtranslates window messages intoInputState.AquariumHostbegins each input frame, pumps messages, then updates runtime.AquariumRuntimepasses input intoOrbitCameraRig.- The renderer receives the updated camera and Grid frame as constants.
Controls
- Middle mouse drag: orbit camera around the Grid center.
- Mouse wheel: exponential zoom.
- Right mouse drag: pan along the Grid plane.
WASD: pan along the Grid plane.
The camera target remains the Grid center. Panning moves that shared target; orbiting changes only yaw/pitch; zoom changes only camera distance and therefore Grid radius.