Back to index

supertuxkart  0.5+dfsg1
Functions
btSolverConstraint.h File Reference
#include "LinearMath/btVector3.h"
#include "LinearMath/btMatrix3x3.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 ATTRIBUTE_ALIGNED16 (struct) btSolverConstraint
 1D constraint along a normal axis between bodyA and bodyB. It can be combined to solve contact and friction constraints.

Function Documentation

ATTRIBUTE_ALIGNED16 ( struct  )

1D constraint along a normal axis between bodyA and bodyB. It can be combined to solve contact and friction constraints.

Definition at line 28 of file btSolverConstraint.h.

{
       BT_DECLARE_ALIGNED_ALLOCATOR();

       btVector3     m_relpos1CrossNormal;
       btVector3     m_contactNormal;

       btVector3     m_relpos2CrossNormal;
       btVector3     m_angularComponentA;

       btVector3     m_angularComponentB;
       mutable btScalar     m_appliedVelocityImpulse;
       mutable btScalar     m_appliedImpulse;
       int                  m_solverBodyIdA;
       int                  m_solverBodyIdB;
       
       btScalar      m_friction;
       btScalar      m_restitution;
       btScalar      m_jacDiagABInv;
       btScalar      m_penetration;
       

       
       int                  m_constraintType;
       int                  m_frictionIndex;
       void*         m_originalContactPoint;
       int                  m_unusedPadding[1];


       enum          btSolverConstraintType
       {
              BT_SOLVER_CONTACT_1D = 0,
              BT_SOLVER_FRICTION_1D
       };
};