mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
113 lines
5.4 KiB
C#
113 lines
5.4 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
|
|
{
|
|
/// <inheritdoc cref="Wheel.GetSettings()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetSettings")]
|
|
public static partial WheelSettings Wheel_GetSettings(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetAngularVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetAngularVelocity")]
|
|
public static partial float Wheel_GetAngularVelocity(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.SetAngularVelocity(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_SetAngularVelocity")]
|
|
public static partial void Wheel_SetAngularVelocity(Wheel self, float vel);
|
|
|
|
/// <inheritdoc cref="Wheel.GetRotationAngle()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetRotationAngle")]
|
|
public static partial float Wheel_GetRotationAngle(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.SetRotationAngle(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_SetRotationAngle")]
|
|
public static partial void Wheel_SetRotationAngle(Wheel self, float angle);
|
|
|
|
/// <inheritdoc cref="Wheel.GetSteerAngle()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetSteerAngle")]
|
|
public static partial float Wheel_GetSteerAngle(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.SetSteerAngle(float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_SetSteerAngle")]
|
|
public static partial void Wheel_SetSteerAngle(Wheel self, float angle);
|
|
|
|
/// <inheritdoc cref="Wheel.HasContact()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_HasContact")]
|
|
public static partial Brutal.Bool8 Wheel_HasContact(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactBodyID()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactBodyID")]
|
|
public static partial uint Wheel_GetContactBodyID(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactSubShapeID()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactSubShapeID")]
|
|
public static partial uint Wheel_GetContactSubShapeID(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactPosition()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactPosition")]
|
|
public static partial float3 Wheel_GetContactPosition(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactPointVelocity()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactPointVelocity")]
|
|
public static partial float3 Wheel_GetContactPointVelocity(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactNormal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactNormal")]
|
|
public static partial float3 Wheel_GetContactNormal(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactLongitudinal()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactLongitudinal")]
|
|
public static partial float3 Wheel_GetContactLongitudinal(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetContactLateral()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetContactLateral")]
|
|
public static partial float3 Wheel_GetContactLateral(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetSuspensionLength()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetSuspensionLength")]
|
|
public static partial float Wheel_GetSuspensionLength(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.HasHitHardPoint()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_HasHitHardPoint")]
|
|
public static partial Brutal.Bool8 Wheel_HasHitHardPoint(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetSuspensionLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetSuspensionLambda")]
|
|
public static partial float Wheel_GetSuspensionLambda(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetLongitudinalLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetLongitudinalLambda")]
|
|
public static partial float Wheel_GetLongitudinalLambda(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.GetLateralLambda()"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_GetLateralLambda")]
|
|
public static partial float Wheel_GetLateralLambda(Wheel self);
|
|
|
|
/// <inheritdoc cref="Wheel.SolveLongitudinalConstraintPart(VehicleConstraint, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_SolveLongitudinalConstraintPart")]
|
|
public static partial Brutal.Bool8 Wheel_SolveLongitudinalConstraintPart(
|
|
Wheel self,
|
|
VehicleConstraint constraint,
|
|
float minImpulse,
|
|
float maxImpulse
|
|
);
|
|
|
|
/// <inheritdoc cref="Wheel.SolveLateralConstraintPart(VehicleConstraint, float, float)"/>
|
|
[LibraryImport("jolt", EntryPoint = "Wheel_SolveLateralConstraintPart")]
|
|
public static partial Brutal.Bool8 Wheel_SolveLateralConstraintPart(
|
|
Wheel self,
|
|
VehicleConstraint constraint,
|
|
float minImpulse,
|
|
float maxImpulse
|
|
);
|
|
}
|
|
}
|
|
}
|