43085772cd278e39a5899784002bb8fe33e06fd5
- Replaced hardcoded 1600/900 screen size with renderer.cell_pixel_size() - Mouse world pos: cam + (screen_pos / cell_px) — correct for any zoom level - Mouse UI pos: (screen_pos / cell_px) * UI_SCALE — correct for UI coordinate space - Shoot direction: player_screen uses cell_px instead of hardcoded 8.0 - Added cell_pixel_size() to GpuRenderer trait and both renderers
Languages
Rust
98.6%
GLSL
1%
Python
0.4%