benilla-re systems structs docs

s_catmullRomSecondDerivativeBasis

global · spline

Address
0xb05db4 · 32 bytes, up to 0xb05dd3
Type
float[8]
Meaning
Holds the Catmull-Rom second derivative basis: four rows of two, set at startup
Confidence
verified, proof one
Finding
spline#basis-tables

Finding: Basis tables in spline

The tables hold the coefficients of each control point's weight as a polynomial in t, highest power first, one row per point. 0xb05e58 is the Bezier basis and 0xb05e10 the Catmull-Rom basis; 0xb05d80 and 0xb05dd8 are their first derivatives, rows of three; 0xb05db4 is the Catmull-Rom second derivative, rows of two.

tablerow 0row 1row 2row 3
0xb05e58−1, 3, −3, 13, −6, 3, 0−3, 3, 0, 01, 0, 0, 0
0xb05e10−0.5, 1, −0.5, 01.5, −2.5, 0, 1−1.5, 2, 0.5, 00.5, −0.5, 0, 0
0xb05d80−3, 6, −39, −12, 3−9, 6, 03, 0, 0
0xb05dd8−1.5, 2, −0.54.5, −5, 0−4.5, 4, 0.51.5, −1, 0
0xb05db4−3, 29, −5−9, 43, −1

The derivation is in the doc.