CRibbonEmitter::BuildNodeFrame
function · models · primitive
- Address
0x7b6990· 631 bytes, up to0x7b6c06- Meaning
- Builds both nodes' edge ends from the heights and up axes, and their tangents from the forward axes
- Confidence
- verified, proof one
- Finding
- models/ribbons#node-frame
- Test
models::ribbon_frame_build_difftest
Finding: Node frame in models: ribbons
Each frame the ribbon keeps the bone's last and current node: position (matrix row 3), up (row 1)
and forward (row 2). On the first frame, and after it was hidden, both nodes are the current one.
The edge ends of a node are p − below·up (bottom) and p + above·up (top), and its tangent is
|current − last|·forward.
The derivation is in the doc.
Callers 1
- CRibbonEmitter::Update models
Callees 2
- SetVector3 spline
- Vector3LengthSquared spline
Calls and jumps by a bare address, from tables/calls.tsv.