mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
41 lines
2.3 KiB
C#
41 lines
2.3 KiB
C#
// <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/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>
|
|
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterRay_Create")]
|
|
public static partial VehicleCollisionTesterRay VehicleCollisionTesterRay_Create(ushort objectLayer, float3 up, float maxSlopeAngle);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterRay_AddRef")]
|
|
public static partial void VehicleCollisionTesterRay_AddRef(VehicleCollisionTesterRay self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterRay_Release")]
|
|
public static partial void VehicleCollisionTesterRay_Release(VehicleCollisionTesterRay self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterRay_GetRefCount")]
|
|
public static partial uint VehicleCollisionTesterRay_GetRefCount(VehicleCollisionTesterRay self);
|
|
[LibraryImport("jolt", EntryPoint = "VehicleCollisionTesterRay_AsVehicleCollisionTester")]
|
|
public static partial VehicleCollisionTester VehicleCollisionTesterRay_AsVehicleCollisionTester(VehicleCollisionTesterRay self);
|
|
}
|
|
}
|
|
}
|