CMapObj::IntersectSegment
function · models · primitive
- Address
0x6a37b0· 649 bytes, up to0x6a3a38- Meaning
- Tests a segment against a map object's groups and returns the hit and surface
- Confidence
- inferred
- Finding
- models/wmo#queries
- Test
models::seg_face_cross_difftest,models::seg_face_dot_difftest,models::seg_normal_scale_difftest
Finding: Queries in models: map objects
The collision and world code ask a map object for segment and box hits, facets in a box or a volume, liquid heights, and the vertex colour under a point. A group answers through its axis-aligned BSP, whose leaves are welded into cached meshes on first use, and through its liquid grid of 4.1666665-yard tiles.
The derivation is in the doc.
Callers 3
- TraceMapObjects terrain
- TraceMapObjectFloor terrain
- ProbeChunkMapObjectFloor terrain
Callees 5
- SplatVector3 loadingscreen
- SubtractVector3 ui
- CMapObj::GetLoadedGroup models
- CMapObjGroup::IntersectSegment models
- SegmentEntersBox unassigned
Calls and jumps by a bare address, from tables/calls.tsv.