Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes | Private Attributes
SupportVertexCallback Class Reference
Inheritance diagram for SupportVertexCallback:
Inheritance graph
Collaboration diagram for SupportVertexCallback:
Collaboration graph

List of all members.

Public Member Functions

 SupportVertexCallback (const btVector3 &supportVecWorld, const btTransform &trans)
virtual void processTriangle (btVector3 *triangle, int partId, int triangleIndex)
btVector3 GetSupportVertexWorldSpace ()
btVector3 GetSupportVertexLocal ()

Public Attributes

btTransform m_worldTrans
btScalar m_maxDot
btVector3 m_supportVecLocal

Private Attributes

btVector3 m_supportVertexLocal

Detailed Description

Definition at line 76 of file btTriangleMeshShape.cpp.

Constructor & Destructor Documentation

SupportVertexCallback::SupportVertexCallback ( const btVector3 supportVecWorld,
const btTransform trans 
) [inline]

Definition at line 86 of file btTriangleMeshShape.cpp.

Here is the call graph for this function:

Member Function Documentation

Definition at line 113 of file btTriangleMeshShape.cpp.

              return m_supportVertexLocal;

Here is the caller graph for this function:

Definition at line 108 of file btTriangleMeshShape.cpp.

virtual void SupportVertexCallback::processTriangle ( btVector3 triangle,
int  partId,
int  triangleIndex 
) [inline, virtual]

Implements btTriangleCallback.

Definition at line 93 of file btTriangleMeshShape.cpp.

              for (int i=0;i<3;i++)
                     btScalar dot =[i]);
                     if (dot > m_maxDot)
                            m_maxDot = dot;
                            m_supportVertexLocal = triangle[i];

Here is the call graph for this function:

Member Data Documentation

Definition at line 83 of file btTriangleMeshShape.cpp.

Definition at line 84 of file btTriangleMeshShape.cpp.

Definition at line 79 of file btTriangleMeshShape.cpp.

Definition at line 82 of file btTriangleMeshShape.cpp.

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