Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfbbdecomp/bfbb
/ xRayHitsBoxFast
Function
xRayHitsBoxFast
src/SB/Core/x/xCollideFast.cpp:31–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
U32 xRayHitsBoxFast(const xRay3* r, const xBox* b)
32
{
33
xIsect isect;
34
iBoxIsectRay(b, r, &isect);
35
return isect.penned <= 0.0f || isect.contained <= 0.0f;
36
}
Callers
2
SweptSphereHitsCameraEnt
Function · 0.70
SweptSphereHitsEntCB
Function · 0.70
Calls
1
iBoxIsectRay
Function · 0.50
Tested by
no test coverage detected