Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
btWheelContactPoint Struct Reference
Collaboration diagram for btWheelContactPoint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btWheelContactPoint (btRigidBody *body0, btRigidBody *body1, const btVector3 &frictionPosWorld, const btVector3 &frictionDirectionWorld, btScalar maxImpulse)

Public Attributes

btRigidBodym_body0
btRigidBodym_body1
btVector3 m_frictionPositionWorld
btVector3 m_frictionDirectionWorld
btScalar m_jacDiagABInv
btScalar m_maxImpulse

Detailed Description

Definition at line 462 of file btRaycastVehicle.cpp.


Constructor & Destructor Documentation

btWheelContactPoint::btWheelContactPoint ( btRigidBody body0,
btRigidBody body1,
const btVector3 frictionPosWorld,
const btVector3 frictionDirectionWorld,
btScalar  maxImpulse 
) [inline]

Definition at line 472 of file btRaycastVehicle.cpp.

              :m_body0(body0),
              m_body1(body1),
              m_frictionPositionWorld(frictionPosWorld),
              m_frictionDirectionWorld(frictionDirectionWorld),
              m_maxImpulse(maxImpulse)
       {
              btScalar denom0 = body0->computeImpulseDenominator(frictionPosWorld,frictionDirectionWorld);
              btScalar denom1 = body1->computeImpulseDenominator(frictionPosWorld,frictionDirectionWorld);
              btScalar      relaxation = 1.f;
              m_jacDiagABInv = relaxation/(denom0+denom1);
       }

Here is the call graph for this function:


Member Data Documentation

Definition at line 464 of file btRaycastVehicle.cpp.

Definition at line 465 of file btRaycastVehicle.cpp.

Definition at line 467 of file btRaycastVehicle.cpp.

Definition at line 466 of file btRaycastVehicle.cpp.

Definition at line 468 of file btRaycastVehicle.cpp.

Definition at line 469 of file btRaycastVehicle.cpp.


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