Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ GetCenter
Method
GetCenter
TombEngine/Math/Objects/GameBoundingBox.cpp:78–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
Vector3 GameBoundingBox::GetCenter() const
79
{
80
return ((Vector3(X1, Y1, Z1) + Vector3(X2, Y2, Z2)) / 2);
81
}
82
83
Vector3 GameBoundingBox::GetExtents() const
84
{
Callers
6
RenderBlobShadows
Method · 0.80
ScaleAabb
Method · 0.80
UpdateItemRoom
Function · 0.80
HandleProjectile
Function · 0.80
GetWaterProbeOffset
Method · 0.80
DropPickups
Function · 0.80
Calls
1
Vector3
Function · 0.50
Tested by
no test coverage detected