benilla-re systems structs docs

CM2Model::GatherCollisionFacets

function · models · primitive

Address
0x7137c0 · 1203 bytes, up to 0x713c72
Meaning
Transforms the model's collision vertices and emits the triangles that touch a box as facets
Confidence
inferred
Finding
models/model#collision-facets
Test
models::shadow_normalize_axes_difftest, models::shadow_transform_normal_difftest

Finding: Collision facets in models: the instance

GatherCollisionFacets(box, matrix, facets) transforms the header's collision vertices by a matrix once into a cached array, gives each an outcode against the box, and emits each collision triangle whose vertices do not share an outside side.

The derivation is in the doc.

Callers 3

Callees 9

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