mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
179
Brutal.Jolt/Generated/PInvoke/Plane.gen.cs
Normal file
179
Brutal.Jolt/Generated/PInvoke/Plane.gen.cs
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// <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="Plane.Create()"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create")]
|
||||
public static partial Plane Plane_Create();
|
||||
|
||||
/// <inheritdoc cref="Plane.Create(float4)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create_2")]
|
||||
public static partial Plane Plane_Create_2(float4 normalAndConstant);
|
||||
|
||||
/// <inheritdoc cref="Plane.Create(float3, float)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create_3")]
|
||||
public static partial Plane Plane_Create_3(float3 normal, float constant);
|
||||
|
||||
/// <inheritdoc cref="Plane.FromPointAndNormal(float3, float3)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_FromPointAndNormal")]
|
||||
public static partial Plane Plane_FromPointAndNormal(float3 point, float3 normal);
|
||||
|
||||
/// <inheritdoc cref="Plane.FromPointAndNormal(double3, float3)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_FromPointAndNormal_2")]
|
||||
public static partial Plane Plane_FromPointAndNormal_2(double3 point, float3 normal);
|
||||
|
||||
/// <inheritdoc cref="Plane.FromPointsCCW(float3, float3, float3)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_FromPointsCCW")]
|
||||
public static partial Plane Plane_FromPointsCCW(float3 v1, float3 v2, float3 v3);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L30">Jolt/Geometry/Plane.h:30</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 GetNormal() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_GetNormal")]
|
||||
public static partial float3 Plane_GetNormal(ref Plane self);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L31">Jolt/Geometry/Plane.h:31</see>
|
||||
/// <br/>
|
||||
/// <c>void SetNormal(Vec3Arg inNormal)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_SetNormal")]
|
||||
public static partial void Plane_SetNormal(ref Plane self, float3 normal);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L32">Jolt/Geometry/Plane.h:32</see>
|
||||
/// <br/>
|
||||
/// <c>float GetConstant() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_GetConstant")]
|
||||
public static partial float Plane_GetConstant(ref Plane self);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L33">Jolt/Geometry/Plane.h:33</see>
|
||||
/// <br/>
|
||||
/// <c>void SetConstant(float inConstant)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_SetConstant")]
|
||||
public static partial void Plane_SetConstant(ref Plane self, float constant);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Store as 4 floats
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L36">Jolt/Geometry/Plane.h:36</see>
|
||||
/// <br/>
|
||||
/// <c>void StoreFloat4(Float4 *outV) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_StoreFloat4")]
|
||||
public static partial void Plane_StoreFloat4(ref Plane self, float4* v);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Offset the plane (positive value means move it in the direction of the plane normal)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L39">Jolt/Geometry/Plane.h:39</see>
|
||||
/// <br/>
|
||||
/// <c>Plane Offset(float inDistance) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Offset")]
|
||||
public static partial Plane Plane_Offset(ref Plane self, float distance);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Transform the plane by a matrix
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L42">Jolt/Geometry/Plane.h:42</see>
|
||||
/// <br/>
|
||||
/// <c>inline Plane GetTransformed(Mat44Arg inTransform) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_GetTransformed")]
|
||||
public static partial Plane Plane_GetTransformed(ref Plane self, in float4x4 transform);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Scale the plane, can handle non-uniform and negative scaling
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L49">Jolt/Geometry/Plane.h:49</see>
|
||||
/// <br/>
|
||||
/// <c>inline Plane Scaled(Vec3Arg inScale) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Scaled")]
|
||||
public static partial Plane Plane_Scaled(ref Plane self, float3 scale);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Distance point to plane
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L57">Jolt/Geometry/Plane.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>float SignedDistance(Vec3Arg inPoint) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_SignedDistance")]
|
||||
public static partial float Plane_SignedDistance(ref Plane self, float3 point);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Project inPoint onto the plane
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/Plane.h#L60">Jolt/Geometry/Plane.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 ProjectPointOnPlane(Vec3Arg inPoint) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_ProjectPointOnPlane")]
|
||||
public static partial float3 Plane_ProjectPointOnPlane(ref Plane self, float3 point);
|
||||
|
||||
/// <inheritdoc cref="Plane.IntersectPlanes(in Plane, in Plane, in Plane, out float3)"/>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_IntersectPlanes")]
|
||||
public static partial Brutal.Bool8 Plane_IntersectPlanes(
|
||||
in Plane p1,
|
||||
in Plane p2,
|
||||
in Plane p3,
|
||||
out float3 point
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue