mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
47 lines
2.1 KiB
C#
47 lines
2.1 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
|
|
{
|
|
[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);
|
|
}
|
|
}
|
|
}
|