Struct SphereTriangleTester
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public struct SphereTriangleTester : IPairTester<SphereWide, TriangleWide, Convex1ContactManifoldWide>
- 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 SphereWide, ref TriangleWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, ref QuaternionWide, int, out Convex1ContactManifoldWide)
public static void Test(ref SphereWide a, ref TriangleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationA, ref QuaternionWide orientationB, int pairCount, out Convex1ContactManifoldWide manifold)
Parameters
a
SphereWideb
TriangleWidespeculativeMargin
Vector<float>offsetB
Vector3WideorientationA
QuaternionWideorientationB
QuaternionWidepairCount
intmanifold
Convex1ContactManifoldWide
Test(ref SphereWide, ref TriangleWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, int, out Convex1ContactManifoldWide)
public static void Test(ref SphereWide a, ref TriangleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationB, int pairCount, out Convex1ContactManifoldWide manifold)
Parameters
a
SphereWideb
TriangleWidespeculativeMargin
Vector<float>offsetB
Vector3WideorientationB
QuaternionWidepairCount
intmanifold
Convex1ContactManifoldWide
Test(ref SphereWide, ref TriangleWide, ref Vector<float>, ref Vector3Wide, int, out Convex1ContactManifoldWide)
public static void Test(ref SphereWide a, ref TriangleWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, int pairCount, out Convex1ContactManifoldWide manifold)
Parameters
a
SphereWideb
TriangleWidespeculativeMargin
Vector<float>offsetB
Vector3WidepairCount
intmanifold
Convex1ContactManifoldWide