Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ ItemCollide
Function
ItemCollide
TombEngine/Game/collision/collide_item.cpp:430–433 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
428
}
429
430
static bool ItemCollide(int value, int radius)
431
{
432
return ((value >= -radius) && (value <= radius));
433
}
434
435
static bool ItemInRange(int x, int z, int radius)
436
{
Callers
2
ItemNearLara
Function · 0.85
ItemNearTarget
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected