//
// 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/CastSphereVsTriangles.h:12
///
/// class CastSphereVsTriangles
///
///
///
///
/// Collision detection helper that casts a sphere vs one or more triangles
///
///
[InteropHandle]
public readonly partial struct CastSphereVsTriangles
{
///
///
/// C++:
/// Jolt/Physics/Collision/CastSphereVsTriangles.h:29
///
/// void Cast(Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2, uint8 inActiveEdges, const SubShapeID &inSubShapeID2)
///
///
///
///
/// Cast sphere 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 Cast(float3 v0, float3 v1, float3 v2, byte activeEdges, uint subShapeID2) => Jolt.PInvoke.CastSphereVsTriangles_Cast(this, v0, v1, v2, activeEdges, subShapeID2);
}
}