ListCellsAlongColumns
function · terrain · primitive
- Address
0x69c780· 404 bytes, up to0x69c913- Signature
void __fastcall (float *start, const float *end, const int32_t *cells)- Meaning
- Lists the cells of a segment whose x extent is the larger, adding a cell at each row change
- Confidence
- inferred
- Finding
- terrain/trace#cell-walks
- Test
terrain::dda_step_ymajor
Finding: Cell walks in terrain: trace
The four walks list the cells a segment's projection crosses: a straight run of cells from start to end along one axis, or a line walk that steps the major axis one cell at a time, computes the minor cell from the line, lists an extra cell at each change of the minor cell, and ends with the end cell. The per-cell test resolves each cell's area and chunk, skips holes, and intersects the cell's four triangles, keeping the nearest fraction.
The derivation is in the doc.
Callers 2
- TraceTerrainSegment terrain
- TraceTerrainFirstHit terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.