benilla-re systems structs docs

RebuildBezierLengths

function · spline · primitive

Address
0x453e90 · 66 bytes, up to 0x453ed1
Signature
void __thiscall (void *this)
Meaning
Stores the arc length of each Bezier segment; slot 1
Confidence
verified, proof one
Finding
spline#bezier-segments

Finding: Bezier segments in spline

The Bezier curve has ⌊count/3⌋ segments of four points sharing their ends, segment i using P[3i] to P[3i + 3]. Slot 0 sums the segment lengths (0x453e70), slot 1 stores each as the arc length of 0x453e50. The point slots locate by arc length (0x453a60) or uniformly (0x453a30) and evaluate with 0x453e30; the tangent slots do the same with 0x453cd0. No point or tangent slot clamps t.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.