Commit 18417be
committed
Clarify doc comments around f32 downcast and bilinear widening
Addresses Copilot review comments on the shrink-grid-precision PR. All
changes are docs-only — no behavioural change:
- Water-blend grid doc: point to `ground_generation`'s 0.5 classifier as
the actual threshold consumer instead of the vague "renderer".
- Bilinear-widening comments (both water_blend and heights): previous
wording implied widening recovered precision, which it doesn't. The
real guarantee is that f32's ~10⁻⁷ precision across the stored Y
range is far below the 0.5 half-block window that `round()` uses, so
the final i32 Y matches the f64 path except in a vanishingly narrow
half-integer boundary band.1 parent feefde8 commit 18417be
2 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments