mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
111
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Triangle.gen.cs
Normal file
111
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Triangle.gen.cs
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
// <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/Geometry/Triangle.h#L16">Jolt/Geometry/Triangle.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>Triangle() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_Create")]
|
||||
public static partial Triangle Triangle_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L17">Jolt/Geometry/Triangle.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>Triangle(const Float3 &inV1, const Float3 &inV2, const Float3 &inV3, uint32 inMaterialIndex = 0, uint32 inUserData = 0)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_Create_2")]
|
||||
public static partial Triangle Triangle_Create_2(float3 v1, float3 v2, float3 v3, uint materialIndex, uint userData);
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_Destroy")]
|
||||
public static partial void Triangle_Destroy(Triangle self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L21">Jolt/Geometry/Triangle.h:21</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 GetCentroid() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get center of triangle
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_GetCentroid")]
|
||||
public static partial float3 Triangle_GetCentroid(Triangle self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Follows mV[3] so that we can read mV as 4 vectors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L28">Jolt/Geometry/Triangle.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 mMaterialIndex = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_GetMaterialIndex")]
|
||||
public static partial uint Triangle_GetMaterialIndex(Triangle self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Follows mV[3] so that we can read mV as 4 vectors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L28">Jolt/Geometry/Triangle.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 mMaterialIndex = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_SetMaterialIndex")]
|
||||
public static partial void Triangle_SetMaterialIndex(Triangle self, uint value);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User data that can be used for anything by the application, e.g. for tracking the original index of
|
||||
/// the triangle
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L29">Jolt/Geometry/Triangle.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 mUserData = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_GetUserData")]
|
||||
public static partial uint Triangle_GetUserData(Triangle self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User data that can be used for anything by the application, e.g. for tracking the original index of
|
||||
/// the triangle
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Triangle.h#L29">Jolt/Geometry/Triangle.h:29</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 mUserData = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Triangle_SetUserData")]
|
||||
public static partial void Triangle_SetUserData(Triangle self, uint value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue