MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xSpline3_Update

Function xSpline3_Update

src/SB/Core/x/xSpline.cpp:746–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746void xSpline3_Update(xSpline3* spl)
747{
748 if ((u16)spl->type == 4)
749 {
750 Interpolate_Bspline(spl->points, spl->bctrl, spl->knot, spl->N + 1);
751 }
752 if ((xSpline3*)spl->arcLength != NULL)
753 {
754 xSpline3_ArcInit(spl, (u32)spl->arcSample);
755 }
756}
757
758void xSpline3_Catmullize(xSpline3* spl)
759{

Callers 1

xSpline3_CatmullizeFunction · 0.85

Calls 2

Interpolate_BsplineFunction · 0.70
xSpline3_ArcInitFunction · 0.70

Tested by

no test coverage detected