Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ GetExtents
Method
GetExtents
TombEngine/Math/Objects/GameBoundingBox.cpp:83–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
}
82
83
Vector3 GameBoundingBox::GetExtents() const
84
{
85
return ((Vector3(X2, Y2, Z2) - Vector3(X1, Y1, Z1)) / 2);
86
}
87
88
void GameBoundingBox::Rotate(const EulerAngles& rot)
89
{
Callers
9
RenderBlobShadows
Method · 0.80
ScaleAabb
Method · 0.80
TestBoundsCollideCamera
Function · 0.80
IsTargetOccludedByObjects
Function · 0.80
GetCollidedObjects
Function · 0.80
TestBoundsCollide
Function · 0.80
CollideSolidBounds
Function · 0.80
GetBridgeItemIntersect
Function · 0.80
DropPickups
Function · 0.80
Calls
1
Vector3
Function · 0.50
Tested by
2
TestBoundsCollideCamera
Function · 0.64
TestBoundsCollide
Function · 0.64