mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 13:41:43 -04:00
Two bugs: 1. NaN start/end produced NaN distances that the chunk-skip check (dist > width + 40) treated as 'always within range', so every chunk got painted. 2. Zero-length line caused glm::normalize to return NaN; same downstream effect. Compute lineDir manually after the length check so we never hit the divide-by-zero path.
17 KiB
17 KiB