Blender V5.0
btConeTwistConstraint.cpp File Reference
#include "btConeTwistConstraint.h"
#include "BulletDynamics/Dynamics/btRigidBody.h"
#include "LinearMath/btTransformUtil.h"
#include "LinearMath/btMinMax.h"
#include <cmath>
#include <new>

Go to the source code of this file.

Macros

#define CONETWIST_USE_OBSOLETE_SOLVER   false
#define CONETWIST_DEF_FIX_THRESH   btScalar(.05f)

Functions

SIMD_FORCE_INLINE btScalar computeAngularImpulseDenominator (const btVector3 &axis, const btMatrix3x3 &invInertiaWorld)
static btVector3 vTwist (1, 0, 0)

Macro Definition Documentation

◆ CONETWIST_DEF_FIX_THRESH

#define CONETWIST_DEF_FIX_THRESH   btScalar(.05f)

Definition at line 27 of file btConeTwistConstraint.cpp.

◆ CONETWIST_USE_OBSOLETE_SOLVER

#define CONETWIST_USE_OBSOLETE_SOLVER   false

Definition at line 26 of file btConeTwistConstraint.cpp.

Referenced by btConeTwistConstraint(), and btConeTwistConstraint().

Function Documentation

◆ computeAngularImpulseDenominator()

SIMD_FORCE_INLINE btScalar computeAngularImpulseDenominator ( const btVector3 & axis,
const btMatrix3x3 & invInertiaWorld )

Definition at line 29 of file btConeTwistConstraint.cpp.

References btMatrix3x3, btVector3, and SIMD_FORCE_INLINE.

Referenced by calcAngleInfo2().

◆ vTwist()

btVector3 vTwist ( 1 ,
0 ,
0  )
static