MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getBoundingBox

Method getBoundingBox

Engine/source/T3D/tsStatic.cpp:1459–1466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1457}
1458
1459Box3F TSStaticPolysoupConvex::getBoundingBox() const
1460{
1461 Box3F wbox = box;
1462 wbox.minExtents.convolve(mObject->getScale());
1463 wbox.maxExtents.convolve(mObject->getScale());
1464 mObject->getTransform().mul(wbox);
1465 return wbox;
1466}
1467
1468Box3F TSStaticPolysoupConvex::getBoundingBox(const MatrixF& mat, const Point3F& scale) const
1469{

Callers 15

findGroundContactMethod · 0.45
findCollisionMethod · 0.45
findGroundContactMethod · 0.45
findCollisionMethod · 0.45
updatePosMethod · 0.45
checkTriggersMethod · 0.45
stepMethod · 0.45

Calls 4

convolveMethod · 0.45
getScaleMethod · 0.45
mulMethod · 0.45
getTransformMethod · 0.45

Tested by

no test coverage detected