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

Function fizzicalCenter

src/SB/Game/zLasso.cpp:349–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static void fizzicalCenter(zLasso* lasso, F32 dt, xVec3* newPoint)
350{
351 xVec3AddScaled(&lasso->crCenter, &lasso->lastRefs[lasso->reindex[4]], -0.2f);
352 xVec3AddScaled(&lasso->crCenter, newPoint, 0.2f);
353}
354
355static void fizzicalNormal(zLasso* lasso, F32 dt, xVec3* newPoint)
356{

Callers 1

zLasso_UpdateFunction · 0.85

Calls 1

xVec3AddScaledFunction · 0.85

Tested by

no test coverage detected