MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / transformNoEmptyTest

Function transformNoEmptyTest

physx/source/geomutils/src/GuBounds.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51using namespace Ps::aos;
52
53static PX_FORCE_INLINE void transformNoEmptyTest(Vec3p& c, Vec3p& ext, const PxMat33& rot, const PxVec3& pos, const CenterExtentsPadded& bounds)
54{
55 c = rot.transform(bounds.mCenter) + pos;
56 ext = Cm::basisExtent(rot.column0, rot.column1, rot.column2, bounds.mExtents);
57}
58
59// PT: this one may have duplicates in GuBV4_BoxSweep_Internal.h & GuBV4_Raycast.cpp
60static PX_FORCE_INLINE Vec4V multiply3x3V(const Vec4V p, const PxMat33Padded& mat_Padded)

Callers 1

computeMeshBoundsFunction · 0.85

Calls 7

basisExtentFunction · 0.85
isNonIdentityFunction · 0.85
computeScaledMatrixFunction · 0.85
transformNoEmptyTestVFunction · 0.85
toMat33Method · 0.80
transformMethod · 0.45
isIdentityMethod · 0.45

Tested by

no test coverage detected