Files
WoWee/src/rendering/wmo_renderer.cpp
Kelsi aa4e615c59 docs(comments): fix WMO wall threshold comment (0.65 vs 0.6428 confusion)
Two comments in src/rendering/wmo_renderer.cpp (lines 2782 and 3393)
claimed the wall classification threshold 'matches MAX_WALK_SLOPE
(cos 50° ≈ 0.6428)', but the actual code uses 0.65 — which is
cos(~49.46°), not cos(50°).

Per MEMORY.md and the WoW slope conventions, there are two distinct
thresholds in this codebase:

  - Wall vs walkable: absNz < 0.65 (≈ cos 49.46°)
  - Slope-sliding lockout: normalZ < 0.6428 (= cos 50°)

The comment conflated them. Reworded both occurrences to make the
distinction explicit. Comment-only — no code changes.
2026-05-15 03:13:07 -07:00

168 KiB