mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
115
Brutal.Jolt/Generated/Classes/RayInvDirection.gen.cs
Normal file
115
Brutal.Jolt/Generated/Classes/RayInvDirection.gen.cs
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper structure holding the reciprocal of a ray for Ray vs AABox testing
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/RayAABox.h#L10">Jolt/Geometry/RayAABox.h:10</see>
|
||||
/// <br/>
|
||||
/// <c>class RayInvDirection</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct RayInvDirection : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Constructors
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/RayAABox.h#L14">Jolt/Geometry/RayAABox.h:14</see>
|
||||
/// <br/>
|
||||
/// <c>inline RayInvDirection() = default</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static RayInvDirection Create() => Jolt.PInvoke.RayInvDirection_Create();
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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>
|
||||
/// Set reciprocal from ray direction
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/RayAABox.h#L18">Jolt/Geometry/RayAABox.h:18</see>
|
||||
/// <br/>
|
||||
/// <c>inline void Set(Vec3Arg inDirection)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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/e77f175595e64cb44218cc9d9d56fc365ad0e36a/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);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// for each component if it is parallel to the coordinate axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/RayAABox.h#L28">Jolt/Geometry/RayAABox.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>UVec4 mIsParallel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public uint4 GetIsParallel() => Jolt.PInvoke.RayInvDirection_GetIsParallel(this);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// for each component if it is parallel to the coordinate axis
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Geometry/RayAABox.h#L28">Jolt/Geometry/RayAABox.h:28</see>
|
||||
/// <br/>
|
||||
/// <c>UVec4 mIsParallel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public void SetIsParallel(uint4 value) => Jolt.PInvoke.RayInvDirection_SetIsParallel(this, value);
|
||||
|
||||
public void Dispose() => Jolt.PInvoke.RayInvDirection_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue