RibbonRingAdvance
function · models · orchestration
- Address
0x7b6f00· 34 bytes, up to0x7b6f21- Meaning
- Advances a ring index by a step and wraps it at the capacity
- Confidence
- verified, proof one
- Finding
- models/ribbons#ribbon-ring
- Test
models::ribbon_segment_emit_difftest
Finding: Ribbon ring in models: ribbons
A ribbon keeps its edges in a ring of n = ceil(ceil(rate)·L) + 2 slots, with rate the record's
edges per second (+0x94) and L its lifespan (+0x98) raised to at least 0.25. Each slot holds
an age and a 40-byte vertex pair, bottom then top, each a position and texture coordinates; edges
live from the tail to the head, and the head slot holds the uncommitted edge at the bone. The
index array holds i mod 2n for i below 4n, so a draw of the live run reads straight through
the wrap. A new ribbon starts hidden, 10 above and 10 below, with no gravity.
The derivation is in the doc.
Callers 2
- CRibbonEmitter::EmitSegment models
- CRibbonEmitter::Update models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.