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

Method ToBoundingOrientedBox

TombEngine/Math/Objects/GameBoundingBox.cpp:165–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 BoundingOrientedBox GameBoundingBox::ToBoundingOrientedBox(const Pose& pose) const
166 {
167 return ToBoundingOrientedBox(pose.Position.ToVector3(), pose.Orientation.ToQuaternion());
168 }
169
170 BoundingOrientedBox GameBoundingBox::ToBoundingOrientedBox(const Vector3& pos, const Quaternion& orient) const
171 {

Callers 15

CollideDamoclesSwordFunction · 0.80
CollideLaserBarrierFunction · 0.80
ElectricityWiresControlFunction · 0.80
GetObbMethod · 0.80
GetVisibilityObbMethod · 0.80
TestBoundsCollideCameraFunction · 0.80
CheckItemCollideCameraFunction · 0.80
ItemsCollideCameraFunction · 0.80
DoRayBoxFunction · 0.80
ConstructRoughBoxFunction · 0.80
TestVolumesFunction · 0.80

Calls 2

ToVector3Method · 0.45
ToQuaternionMethod · 0.45

Tested by 6

TestBoundsCollideCameraFunction · 0.64
TestVolumesFunction · 0.64
TestLaraPoleCollisionFunction · 0.64
TestForObjectOnLedgeFunction · 0.64
TestLaraPositionFunction · 0.64