mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
34 lines
1.6 KiB
C#
34 lines
1.6 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
public static partial class Jolt
|
|
{
|
|
public static unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/CollideConvexVsTriangles.h#L36">Jolt/Physics/Collision/CollideConvexVsTriangles.h:36</see>
|
|
/// <br/>
|
|
/// <c>void Collide(Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2, uint8 inActiveEdges, const SubShapeID &inSubShapeID2)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "CollideConvexVsTriangles_Collide")]
|
|
public static partial void CollideConvexVsTriangles_Collide(CollideConvexVsTriangles self, float3 v0, float3 v1, float3 v2, byte activeEdges, uint subShapeID2);
|
|
}
|
|
}
|
|
}
|