mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 05: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,88 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L10">Jolt/Geometry/RayAABox.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>class RayInvDirection</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Helper structure holding the reciprocal of a ray for Ray vs AABox testing
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct RayInvDirection : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L14">Jolt/Geometry/RayAABox.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>inline RayInvDirection() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructors
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static RayInvDirection Create() => Jolt.PInvoke.RayInvDirection_Create();
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L15">Jolt/Geometry/RayAABox.h:15</see>
|
||||
/// <br/>
|
||||
/// <c>inline explicit RayInvDirection(Vec3Arg inDirection)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static RayInvDirection Create(float3 direction) => Jolt.PInvoke.RayInvDirection_Create_2(direction);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L18">Jolt/Geometry/RayAABox.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>inline void Set(Vec3Arg inDirection)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Set reciprocal from ray direction
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public void Set(float3 direction) => Jolt.PInvoke.RayInvDirection_Set(this, direction);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 1 / ray direction
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L27">Jolt/Geometry/RayAABox.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mInvDirection</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public float3 GetInvDirection() => Jolt.PInvoke.RayInvDirection_GetInvDirection(this);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 1 / ray direction
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/RayAABox.h#L27">Jolt/Geometry/RayAABox.h:27</see>
|
||||
/// <br/>
|
||||
/// <c>Vec3 mInvDirection</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetInvDirection(float3 value) => Jolt.PInvoke.RayInvDirection_SetInvDirection(this, value);
|
||||
public void Dispose() => Jolt.PInvoke.RayInvDirection_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue