Struct BoxPairTester
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public struct BoxPairTester : IPairTester<BoxWide, BoxWide, Convex4ContactManifoldWide>- Implements
- Inherited Members
Properties
BatchSize
Gets the nubmer of pairs which would ideally be gathered together before executing a wide test.
public static int BatchSize { get; }Property Value
Methods
Test(ref BoxWide, ref BoxWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, ref QuaternionWide, int, out Convex4ContactManifoldWide)
public static void Test(ref BoxWide a, ref BoxWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationA, ref QuaternionWide orientationB, int pairCount, out Convex4ContactManifoldWide manifold)Parameters
- aBoxWide
- bBoxWide
- speculativeMarginVector<float>
- offsetBVector3Wide
- orientationAQuaternionWide
- orientationBQuaternionWide
- pairCountint
- manifoldConvex4ContactManifoldWide
Test(ref BoxWide, ref BoxWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, int, out Convex4ContactManifoldWide)
public static void Test(ref BoxWide a, ref BoxWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationB, int pairCount, out Convex4ContactManifoldWide manifold)Parameters
- aBoxWide
- bBoxWide
- speculativeMarginVector<float>
- offsetBVector3Wide
- orientationBQuaternionWide
- pairCountint
- manifoldConvex4ContactManifoldWide
Test(ref BoxWide, ref BoxWide, ref Vector<float>, ref Vector3Wide, int, out Convex4ContactManifoldWide)
public static void Test(ref BoxWide a, ref BoxWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, int pairCount, out Convex4ContactManifoldWide manifold)