benilla-re systems structs docs

TestMapObjectBox

function · terrain · orchestration

Address
0x6ad330 · 424 bytes, up to 0x6ad4d7
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

Callees 10

Calls and jumps by a bare address, from tables/calls.tsv.