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
157
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Plane.gen.cs
Normal file
157
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Plane.gen.cs
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
// <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/Plane.h#L16">Jolt/Geometry/Plane.h:16</see>
|
||||
/// <br/>
|
||||
/// <c>Plane() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create")]
|
||||
public static partial Plane Plane_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L17">Jolt/Geometry/Plane.h:17</see>
|
||||
/// <br/>
|
||||
/// <c>explicit Plane(Vec4Arg inNormalAndConstant)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create_2")]
|
||||
public static partial Plane Plane_Create_2(float4 normalAndConstant);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L18">Jolt/Geometry/Plane.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>Plane(Vec3Arg inNormal, float inConstant)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Create_3")]
|
||||
public static partial Plane Plane_Create_3(float3 normal, float constant);
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_Destroy")]
|
||||
public static partial void Plane_Destroy(Plane self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L30">Jolt/Geometry/Plane.h:30</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 GetNormal() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_GetNormal")]
|
||||
public static partial float3 Plane_GetNormal(Plane self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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(Plane self, float3 normal);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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(Plane self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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(Plane self, float constant);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L36">Jolt/Geometry/Plane.h:36</see>
|
||||
/// <br/>
|
||||
/// <c>void StoreFloat4(Float4 *outV) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Store as 4 floats
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_StoreFloat4")]
|
||||
public static partial void Plane_StoreFloat4(Plane self, float4* v);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L57">Jolt/Geometry/Plane.h:57</see>
|
||||
/// <br/>
|
||||
/// <c>float SignedDistance(Vec3Arg inPoint) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Distance point to plane
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_SignedDistance")]
|
||||
public static partial float Plane_SignedDistance(Plane self, float3 point);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L60">Jolt/Geometry/Plane.h:60</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 ProjectPointOnPlane(Vec3Arg inPoint) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Project inPoint onto the plane
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_ProjectPointOnPlane")]
|
||||
public static partial float3 Plane_ProjectPointOnPlane(Plane self, float3 point);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/Plane.h#L63">Jolt/Geometry/Plane.h:63</see>
|
||||
/// <br/>
|
||||
/// <c>static bool sIntersectPlanes(const Plane &inP1, const Plane &inP2, const Plane &inP3, Vec3 &outPoint)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Returns intersection point between 3 planes
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Plane_sIntersectPlanes")]
|
||||
public static partial Brutal.Bool8 Plane_sIntersectPlanes(Plane p1, Plane p2, Plane p3, out float3 point);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue