Struct GJKDistanceTester<TShapeA, TShapeWideA, TSupportFinderA, TShapeB, TShapeWideB, TSupportFinderB>
- Namespace
- BepuPhysics.CollisionDetection.SweepTasks
- Assembly
- BepuPhysics.dll
public struct GJKDistanceTester<TShapeA, TShapeWideA, TSupportFinderA, TShapeB, TShapeWideB, TSupportFinderB> : IPairDistanceTester<TShapeWideA, TShapeWideB> where TShapeA : unmanaged, IConvexShape where TShapeWideA : unmanaged, IShapeWide<TShapeA> where TSupportFinderA : struct, ISupportFinder<TShapeA, TShapeWideA> where TShapeB : unmanaged, IConvexShape where TShapeWideB : unmanaged, IShapeWide<TShapeB> where TSupportFinderB : struct, ISupportFinder<TShapeB, TShapeWideB>
Type Parameters
TShapeA
TShapeWideA
TSupportFinderA
TShapeB
TShapeWideB
TSupportFinderB
- Implements
-
IPairDistanceTester<TShapeWideA, TShapeWideB>
- Inherited Members
Fields
ContainmentEpsilon
public float ContainmentEpsilon
Field Value
ContainmentEpsilonDefault
public const float ContainmentEpsilonDefault = 0.00031622776
Field Value
TerminationEpsilon
public float TerminationEpsilon
Field Value
TerminationEpsilonDefault
public const float TerminationEpsilonDefault = 1E-07
Field Value
Methods
Test(in TShapeWideA, in TShapeWideB, in Vector3Wide, in QuaternionWide, in QuaternionWide, in Vector<int>, out Vector<int>, out Vector<float>, out Vector3Wide, out Vector3Wide)
public void Test(in TShapeWideA a, in TShapeWideB b, in Vector3Wide offsetB, in QuaternionWide orientationA, in QuaternionWide orientationB, in Vector<int> inactiveLanes, out Vector<int> intersected, out Vector<float> distance, out Vector3Wide closestA, out Vector3Wide normal)