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

Function PlayerBoundUpdate

src/SB/Game/zEntPlayer.cpp:4837–4843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4835}
4836
4837static void PlayerBoundUpdate(xEnt* ent, xVec3* pos)
4838{
4839 xEntDefaultBoundUpdate(ent, pos);
4840 ent->bound.sph.r = 0.5f;
4841 ent->bound.sph.center.y -= ent->bound.sph.r;
4842 xVec3AddScaled(&ent->bound.sph.center, &globals.player.RootUp, ent->bound.sph.r - 0.2f);
4843}
4844
4845// Equivalent; scheduling.
4846void PlayerMountHackUpdate(F32 delta)

Callers

nothing calls this directly

Calls 2

xVec3AddScaledFunction · 0.85
xEntDefaultBoundUpdateFunction · 0.50

Tested by

no test coverage detected