TestMapObjectBox
function · terrain · orchestration
- Address
0x6ad330· 424 bytes, up to0x6ad4d7- Signature
uint8_t __fastcall (const float *box, void *out, uint32_t arg3)- Meaning
- Tests a box against the loaded map objects and collects the facets it touches
- Confidence
- inferred
- Finding
- terrain/mapentities#map-object-box-test
- Test
terrain::negate3_difftest
Finding: Map object box test in terrain: map entities
0x6ad330 tests a box against the loaded map objects. For each map object not marked skipped
(+0xd bit 0) it moves the box into the object's space with the object's inverse axes and
origin, and when the object's bounds overlap it (0x6a4670) collects the facets the box
touches (0x6a3b10) into the triangle batch, keeping whether any object did. It returns that.
The derivation is in the doc.
Callers 1
- TestWorldBox terrain
Callees 10
- SplatVector3 loadingscreen
- SetVector3 spline
- AddVector3InPlace ui
- ScaleVector3 objectlayer
- InitMatrix3x3 objectlayer
- AddVector3 objectlayer
- CMapObj::CollectGroupBoxFacets models
- CMapObj::BoxOverlaps models
- 0x6dc3f0 unassigned
- TransformPoint cmath
Calls and jumps by a bare address, from tables/calls.tsv.