mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
90 lines
4.2 KiB
C#
90 lines
4.2 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
|
|
{
|
|
/// <inheritdoc cref="ConvexHullShape.Create()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_Create")]
|
|
public static partial ConvexHullShape ConvexHullShape_Create();
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.Create(ConvexHullShapeSettings)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_Create_2")]
|
|
public static partial ConvexHullShape ConvexHullShape_Create_2(ConvexHullShapeSettings settings);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.DrawShrunkShape(DebugRenderer, in float4x4, float3)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_DrawShrunkShape")]
|
|
public static partial void ConvexHullShape_DrawShrunkShape(
|
|
ConvexHullShape self,
|
|
DebugRenderer renderer,
|
|
in float4x4 centerOfMassTransform,
|
|
float3 scale
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetConvexRadius()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetConvexRadius")]
|
|
public static partial float ConvexHullShape_GetConvexRadius(ConvexHullShape self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetPlanes()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetPlanes")]
|
|
public static partial void ConvexHullShape_GetPlanes(ConvexHullShape self, out NativeSpanView outResult);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetNumPoints()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumPoints")]
|
|
public static partial uint ConvexHullShape_GetNumPoints(ConvexHullShape self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetPoint(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetPoint")]
|
|
public static partial float3 ConvexHullShape_GetPoint(
|
|
ConvexHullShape self,
|
|
uint index,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetNumFaces()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumFaces")]
|
|
public static partial uint ConvexHullShape_GetNumFaces(ConvexHullShape self);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetNumVerticesInFace(uint)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetNumVerticesInFace")]
|
|
public static partial uint ConvexHullShape_GetNumVerticesInFace(
|
|
ConvexHullShape self,
|
|
uint faceIndex,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetFaceVertices(uint, Span{uint})"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetFaceVertices")]
|
|
public static partial uint ConvexHullShape_GetFaceVertices(
|
|
ConvexHullShape self,
|
|
uint faceIndex,
|
|
uint maxVertices,
|
|
uint* vertices,
|
|
out uint outInRange
|
|
);
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.Register()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_Register")]
|
|
public static partial void ConvexHullShape_Register();
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetMaxPointsInHull()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetMaxPointsInHull")]
|
|
public static partial int ConvexHullShape_GetMaxPointsInHull();
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.GetDrawFaceOutlines()"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_GetDrawFaceOutlines")]
|
|
public static partial Brutal.Bool8 ConvexHullShape_GetDrawFaceOutlines();
|
|
|
|
/// <inheritdoc cref="ConvexHullShape.SetDrawFaceOutlines(bool)"/>
|
|
[LibraryImport("jolt", EntryPoint = "ConvexHullShape_SetDrawFaceOutlines")]
|
|
public static partial void ConvexHullShape_SetDrawFaceOutlines(Brutal.Bool8 value);
|
|
}
|
|
}
|
|
}
|