Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfbbdecomp/bfbb
/ xQuickCullForBox
Function
xQuickCullForBox
src/SB/Core/x/xCollide.cpp:2670–2672 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2668
F32 f31 = d1.length2();
2669
F32 b = 2.0f * d1.dot(d2);
2670
F32 q = SQR(b) - 4.0f * f31 * (d2.length2() - SQR(r));
2671
2672
if (q < 0.0f)
2673
return false;
2674
2675
F32 d = xsqrt(q);
Callers
2
xSweptSpherePrepare
Function · 0.70
xSceneNearestFloorPoly
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected