Struct TriangleCylinderTester
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public struct TriangleCylinderTester : IPairTester<TriangleWide, CylinderWide, 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
CreateEffectiveTriangleFaceNormal(in Vector3Wide, in Vector3Wide, Vector<float>, Vector<int>, out Vector3Wide, out Vector<float>)
public static void CreateEffectiveTriangleFaceNormal(in Vector3Wide triangleNormal, in Vector3Wide normal, Vector<float> faceNormalADotNormal, Vector<int> inactiveLanes, out Vector3Wide effectiveFaceNormal, out Vector<float> inverseEffectiveFaceNormalDotNormal)
Parameters
triangleNormalVector3WidenormalVector3WidefaceNormalADotNormalVector<float>inactiveLanesVector<int>effectiveFaceNormalVector3WideinverseEffectiveFaceNormalDotNormalVector<float>
Test(ref TriangleWide, ref CylinderWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, ref QuaternionWide, int, out Convex4ContactManifoldWide)
public static void Test(ref TriangleWide a, ref CylinderWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationA, ref QuaternionWide orientationB, int pairCount, out Convex4ContactManifoldWide manifold)
Parameters
aTriangleWidebCylinderWidespeculativeMarginVector<float>offsetBVector3WideorientationAQuaternionWideorientationBQuaternionWidepairCountintmanifoldConvex4ContactManifoldWide
Test(ref TriangleWide, ref CylinderWide, ref Vector<float>, ref Vector3Wide, ref QuaternionWide, int, out Convex4ContactManifoldWide)
public static void Test(ref TriangleWide a, ref CylinderWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, ref QuaternionWide orientationB, int pairCount, out Convex4ContactManifoldWide manifold)
Parameters
aTriangleWidebCylinderWidespeculativeMarginVector<float>offsetBVector3WideorientationBQuaternionWidepairCountintmanifoldConvex4ContactManifoldWide
Test(ref TriangleWide, ref CylinderWide, ref Vector<float>, ref Vector3Wide, int, out Convex4ContactManifoldWide)
public static void Test(ref TriangleWide a, ref CylinderWide b, ref Vector<float> speculativeMargin, ref Vector3Wide offsetB, int pairCount, out Convex4ContactManifoldWide manifold)
Parameters
aTriangleWidebCylinderWidespeculativeMarginVector<float>offsetBVector3WidepairCountintmanifoldConvex4ContactManifoldWide