CRibbonEmitter::EmitSegment
function · models · primitive
- Address
0x7b6c30· 715 bytes, up to0x7b6efa- Signature
void __thiscall (CRibbonEmitter *this, float age, float t, uint32_t commit)- Meaning
- Writes the edge at t between the last and current node at the head, with its age, and commits it on request
- Confidence
- verified, proof one
- Finding
- models/ribbons#edge-curve
- Test
models::ribbon_segment_emit_difftest
Finding: Edge curve in models: ribbons
An edge at t between the last node (t = 0) and the current one (t = 1) puts each of its two
vertices at s·P0 + t·P1 + s·t·(T0 − T1), with s = 1 − t, P0 and P1 that end of the last
and current node, and T0 and T1 their tangents. The edge takes its age and, when committed,
advances the head.
The derivation is in the doc.
Callers 1
- CRibbonEmitter::Update models
Callees 3
- SetVector3 spline
- AddVector3 objectlayer
- RibbonRingAdvance models
Calls and jumps by a bare address, from tables/calls.tsv.