CRibbonEmitter::SetFrame
function · models · primitive
- Address
0x7b76c0· 356 bytes, up to0x7b7823- Meaning
- Moves the current node into the last and takes the new node from the bone matrix; seeds both when not started
- Confidence
- verified, proof one
- Finding
- models/ribbons#node-frame
- Test
models::node_place_translate_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
- CM2Model::UpdateAfterAnimate models
Callees 2
- MultiplyMatrix4InPlace cmath
- InvertAffineMatrix cmath
Calls and jumps by a bare address, from tables/calls.tsv.