57a88fd41e49c5803341f0f2d47585c0909091b4
Both renderers (ascii + graphics) now support dynamic window resize: - check_resize() called at start of every render() frame - Compares surface capabilities with current swapchain extent - If changed: recreates swapchain, image views, framebuffers, command buffers - Recalculates grid_w/grid_h from new extent / cell_size (16x16) - Reallocates instance buffer if grid cell count changed - Old swapchain properly destroyed after new one created - Handles window minimize (skip if extent = 0) - physical_device field added back to both renderers (needed for surface caps query) main.rs: vw/vh queried every frame from renderer.grid_w()/grid_h() instead of cached once at startup. Camera center uses dynamic dimensions. Result: resize window → more/fewer cells visible, cells stay 16x16 pixels. 109 tests, 0 failures
Description
ASCII physical game
1.9 MiB
Languages
Rust
98.6%
GLSL
1%
Python
0.4%