MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GameBoundingBox

Method GameBoundingBox

TombEngine/Math/Objects/GameBoundingBox.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 const GameBoundingBox GameBoundingBox::Zero = GameBoundingBox(0, 0, 0, 0, 0, 0);
16
17 GameBoundingBox::GameBoundingBox(float x1, float x2, float y1, float y2, float z1, float z2)
18 {
19 X1 = (int)round(x1);
20 X2 = (int)round(x2);
21 Y1 = (int)round(y1);
22 Y2 = (int)round(y2);
23 Z1 = (int)round(z1);
24 Z2 = (int)round(z2);
25 }
26
27 GameBoundingBox::GameBoundingBox(const BoundingBox& aabb)
28 {

Callers

nothing calls this directly

Calls 2

GetFrameInterpDataFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected