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

Method computeBounds

Engine/source/ts/tsMesh.cpp:1042–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1040//-----------------------------------------------------
1041
1042void TSMesh::computeBounds()
1043{
1044 MatrixF mat(true);
1045 computeBounds( mat, mBounds, -1, &mCenter, &mRadius );
1046}
1047
1048void TSMesh::computeBounds( const MatrixF &transform, Box3F &bounds, S32 frame, Point3F *center, F32 *radius )
1049{

Callers 9

updateBoundsMethod · 0.45
addBoxMethod · 0.45
addSphereMethod · 0.45
addCapsuleMethod · 0.45
fitK_DOPMethod · 0.45
fitConvexHullsMethod · 0.45
copyMeshMethod · 0.45
preloadMethod · 0.45
computeSceneBoundsMethod · 0.45

Calls 11

getMaxFunction · 0.85
mSqrtFunction · 0.85
vertMethod · 0.80
vertSizeMethod · 0.80
mulPMethod · 0.80
mDotFunction · 0.50
isReadyMethod · 0.45
sizeMethod · 0.45
addressMethod · 0.45
setMaxMethod · 0.45
setMinMethod · 0.45

Tested by

no test coverage detected