mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48: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,52 @@
|
|||
// <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/Physics/Vehicle/VehicleCollisionTester.h#L84">Jolt/Physics/Vehicle/VehicleCollisionTester.h:84</see>
|
||||
/// <br/>
|
||||
/// <c>class VehicleCollisionTesterRay : public VehicleCollisionTester</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Collision tester that tests collision using a raycast
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct VehicleCollisionTesterRay : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Vehicle/VehicleCollisionTester.h#L93">Jolt/Physics/Vehicle/VehicleCollisionTester.h:93</see>
|
||||
/// <br/>
|
||||
/// <c>explicit VehicleCollisionTesterRay(ObjectLayer inObjectLayer, Vec3Arg inUp = Vec3::sAxisY(), float inMaxSlopeAngle = DegreesToRadians(80.0f))</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Constructor
|
||||
/// @param inObjectLayer Object layer to test collision with
|
||||
/// @param inUp World space up vector, used to avoid colliding with vertical walls.
|
||||
/// @param inMaxSlopeAngle Max angle (rad) that is considered for colliding wheels. This is to avoid colliding with vertical walls.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public static VehicleCollisionTesterRay Create(ushort objectLayer, float3 up, float maxSlopeAngle) => Jolt.PInvoke.VehicleCollisionTesterRay_Create(objectLayer, up, maxSlopeAngle);
|
||||
public void AddRef() => Jolt.PInvoke.VehicleCollisionTesterRay_AddRef(this);
|
||||
public void Release() => Jolt.PInvoke.VehicleCollisionTesterRay_Release(this);
|
||||
public uint GetRefCount() => Jolt.PInvoke.VehicleCollisionTesterRay_GetRefCount(this);
|
||||
public static implicit operator VehicleCollisionTester(VehicleCollisionTesterRay value) => Jolt.PInvoke.VehicleCollisionTesterRay_AsVehicleCollisionTester(value);
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsNull()) return;
|
||||
Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue