MCPcopy 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

RenderBlobShadowsMethod · 0.80
ScaleAabbMethod · 0.80
TestBoundsCollideCameraFunction · 0.80
GetCollidedObjectsFunction · 0.80
TestBoundsCollideFunction · 0.80
CollideSolidBoundsFunction · 0.80
GetBridgeItemIntersectFunction · 0.80
DropPickupsFunction · 0.80

Calls 1

Vector3Function · 0.50

Tested by 2

TestBoundsCollideCameraFunction · 0.64
TestBoundsCollideFunction · 0.64