Table of Contents

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

int

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

triangleNormal Vector3Wide
normal Vector3Wide
faceNormalADotNormal Vector<float>
inactiveLanes Vector<int>
effectiveFaceNormal Vector3Wide
inverseEffectiveFaceNormalDotNormal Vector<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

a TriangleWide
b CylinderWide
speculativeMargin Vector<float>
offsetB Vector3Wide
orientationA QuaternionWide
orientationB QuaternionWide
pairCount int
manifold Convex4ContactManifoldWide

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

a TriangleWide
b CylinderWide
speculativeMargin Vector<float>
offsetB Vector3Wide
orientationB QuaternionWide
pairCount int
manifold Convex4ContactManifoldWide

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

a TriangleWide
b CylinderWide
speculativeMargin Vector<float>
offsetB Vector3Wide
pairCount int
manifold Convex4ContactManifoldWide