CM2Model::GatherCollisionFacets
function · models · primitive
- Address
0x7137c0· 1203 bytes, up to0x713c72- 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
- AddDoodadFacets terrain
- AddEntityFacets terrain
- GatherChunkVolumeFacets terrain
Callees 9
- Vector3LengthSquared spline
- 0x5138b0 unassigned
- InitMatrix3x3 objectlayer
- SMemAlloc storm
- ConstructFacet terrain
- ClampHashCapacity terrain
- RoundUpToMultipleG terrain
- CM2Model::WaitForShared models
- TransformPoint cmath
Calls and jumps by a bare address, from tables/calls.tsv.