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

Function xSpline3_EvalArcApprox

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

Source from the content-addressed store, hash-verified

606}
607
608F32 xSpline3_EvalArcApprox(xSpline3* spl, F32 s, U32 deriv, xVec3* o)
609{
610 if (spl->arcLength != NULL)
611 {
612 return ArcEvalIterate(spl, s, deriv, o, 0);
613 }
614 else
615 {
616 xSpline3_EvalSeg(spl, s, deriv, o);
617 }
618 return s;
619}
620
621void xSpline3_ArcInit(xSpline3* spl, U32 sample)
622{

Callers 1

xEntMPMoveFunction · 0.85

Calls 2

ArcEvalIterateFunction · 0.70
xSpline3_EvalSegFunction · 0.70

Tested by

no test coverage detected