mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
48
Brutal.Jolt/Generated/Classes/CastSphereVsTriangles.gen.cs
Normal file
48
Brutal.Jolt/Generated/Classes/CastSphereVsTriangles.gen.cs
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Collision detection helper that casts a sphere vs one or more triangles
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastSphereVsTriangles.h#L12">Jolt/Physics/Collision/CastSphereVsTriangles.h:12</see>
|
||||
/// <br/>
|
||||
/// <c>class CastSphereVsTriangles</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct CastSphereVsTriangles
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Cast sphere with a single triangle
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/Collision/CastSphereVsTriangles.h#L29">Jolt/Physics/Collision/CastSphereVsTriangles.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>void Cast(Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2, uint8 inActiveEdges, const SubShapeID &inSubShapeID2)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public void Cast(float3 v0, float3 v1, float3 v2, byte activeEdges, uint subShapeID2) =>
|
||||
Jolt.PInvoke.CastSphereVsTriangles_Cast(this, v0, v1, v2, activeEdges, subShapeID2);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue