Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/GJK.h |
Include |
#include "Chaos/GJK.h" |
namespace Chaos
{
template<bool bNegativePenetrationSupport, typename T, typename TGeometryA, typename TGeometryB>
bool Chaos::GJKPenetration
(
const TGeometryA & A,
const TGeometryB & B,
const TRigidTransform< T, 3 > & BToATM,
T & OutPenetration,
TVec3< T > & OutClosestA,
TVec3< T > & OutClosestB,
TVec3< T > & OutNormal,
const T InThicknessA,
const TVector< T, 3 > & InitialDir,
const T InThicknessB,
int32 * OutNumIterations
)
}
This function will be faster if bNegativePenetrationSupport is false, so don't use the feature if not required.