EvaluateBasisPolynomial
function · spline · primitive
- Address
0x453620· 32 bytes, up to0x45363f- Signature
double __fastcall (uint32_t degree, const float *row, float t)- Meaning
- Returns the Horner polynomial of a coefficient row at t
- Confidence
- verified, proof one
- Finding
- spline#point-and-derivative-kernels
- Test
spline::basis_weight_diff
Finding: Point and derivative kernels in spline
0x453620(t) with ecx the degree and edx a row evaluates the polynomial by Horner's rule at 53
bits: w = c0; for i in 1..degree { w = w·t + c[i] }. 0x453580(seg, t, table, out) sums the four
weights times the control points P[seg] to P[seg + 3]; 0x453640 does the same with degree 2.
Rows lie 16 bytes apart. Per point the x product stays at 53 bits, the y and z products are stored
as floats, and each running sum is stored as a float.
The derivation is in the doc.
Callers 3
- EvaluateCubicPoint spline
- EvaluateQuadraticPoint spline
- EvaluateLinearPoint spline
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.