mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,47 @@
|
|||
// <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
|
||||
{
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder_Destroy")]
|
||||
public static partial void ConvexHullBuilder_Destroy(ConvexHullBuilder self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder.h#L114">Jolt/Geometry/ConvexHullBuilder.h:114</see>
|
||||
/// <br/>
|
||||
/// <c>int GetNumVerticesUsed() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns the amount of vertices that are currently used by the hull
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder_GetNumVerticesUsed")]
|
||||
public static partial int ConvexHullBuilder_GetNumVerticesUsed(ConvexHullBuilder self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/ConvexHullBuilder.h#L120">Jolt/Geometry/ConvexHullBuilder.h:120</see>
|
||||
/// <br/>
|
||||
/// <c>void GetCenterOfMassAndVolume(Vec3 &outCenterOfMass, float &outVolume) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Calculate the center of mass and the volume of the current convex hull
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "ConvexHullBuilder_GetCenterOfMassAndVolume")]
|
||||
public static partial void ConvexHullBuilder_GetCenterOfMassAndVolume(ConvexHullBuilder self, out float3 centerOfMass, out float volume);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue