LeviLamina
Loading...
Searching...
No Matches
DistanceConstraint Class Reference

Public Member Functions

MCAPI DistanceConstraint (float massA, float massB, float desiredDistance)
MCAPI float setup (::Vec3 const &posA, ::Vec3 const &posB, float baumgarteTerm, float slop)
MCAPI void solve (::Vec3 &velA, ::Vec3 &velB)
MCAPI void * $ctor (float massA, float massB, float desiredDistance)

Public Attributes

::ll::TypedStorage< 4, 4, float > mConstraintMass
::ll::TypedStorage< 4, 12, ::Vec3mConstraintAxis
::ll::TypedStorage< 4, 4, float > mBias
::ll::TypedStorage< 1, 1, bool > mShouldEnforce
::ll::TypedStorage< 4, 4, float > mMassA
::ll::TypedStorage< 4, 4, float > mMassB
::ll::TypedStorage< 4, 4, float > mDesiredDistance

Constructor & Destructor Documentation

◆ DistanceConstraint()

MCAPI DistanceConstraint::DistanceConstraint ( float massA,
float massB,
float desiredDistance )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ setup()

MCAPI float DistanceConstraint::setup ( ::Vec3 const & posA,
::Vec3 const & posB,
float baumgarteTerm,
float slop )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ solve()

MCAPI void DistanceConstraint::solve ( ::Vec3 & velA,
::Vec3 & velB )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * DistanceConstraint::$ctor ( float massA,
float massB,
float desiredDistance )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: