// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Physics/Collision/CollideConvexVsTriangles.h:17 ///
/// class CollideConvexVsTriangles ///
///
/// /// /// Collision detection helper that collides a convex object vs one or more triangles /// /// [InteropHandle] public readonly partial struct CollideConvexVsTriangles { /// /// /// C++: /// Jolt/Physics/Collision/CollideConvexVsTriangles.h:36 ///
/// void Collide(Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2, uint8 inActiveEdges, const SubShapeID &inSubShapeID2) ///
///
/// /// /// Collide convex object with a single triangle /// @param inV0 , inV1 , inV2: CCW triangle vertices /// @param inActiveEdges bit 0 = edge v0..v1 is active, bit 1 = edge v1..v2 is active, bit 2 = edge v2..v0 is active /// An active edge is an edge that is not connected to another triangle in such a way that it is impossible to collide with the edge /// @param inSubShapeID2 The sub shape ID for the triangle /// /// public void Collide(float3 v0, float3 v1, float3 v2, byte activeEdges, uint subShapeID2) => Jolt.PInvoke.CollideConvexVsTriangles_Collide(this, v0, v1, v2, activeEdges, subShapeID2); } }