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

Function fizzicalRadius

src/SB/Game/zLasso.cpp:340–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340static void fizzicalRadius(zLasso* lasso, F32 dt, xVec3* newPoint)
341{
342 lasso->crRadius = -((2.0f * (0.75f - lasso->crSlack) * dt) - lasso->crRadius);
343 if (lasso->crRadius < 0.0f)
344 {
345 lasso->crRadius = 0.0f;
346 }
347}
348
349static void fizzicalCenter(zLasso* lasso, F32 dt, xVec3* newPoint)
350{

Callers 1

zLasso_UpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected