Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
btConvexPlaneCollisionAlgorithm::CreateFunc Struct Reference

#include <btConvexPlaneCollisionAlgorithm.h>

Inheritance diagram for btConvexPlaneCollisionAlgorithm::CreateFunc:
Inheritance graph
[legend]
Collaboration diagram for btConvexPlaneCollisionAlgorithm::CreateFunc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual btCollisionAlgorithmCreateCollisionAlgorithm (btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *body0, btCollisionObject *body1)

Public Attributes

bool m_swapped

Detailed Description

Definition at line 45 of file btConvexPlaneCollisionAlgorithm.h.


Member Function Documentation

virtual btCollisionAlgorithm* btConvexPlaneCollisionAlgorithm::CreateFunc::CreateCollisionAlgorithm ( btCollisionAlgorithmConstructionInfo ci,
btCollisionObject *  body0,
btCollisionObject *  body1 
) [inline, virtual]

Reimplemented from btCollisionAlgorithmCreateFunc.

Definition at line 47 of file btConvexPlaneCollisionAlgorithm.h.

              {
                     void* mem = ci.m_dispatcher1->allocateCollisionAlgorithm(sizeof(btConvexPlaneCollisionAlgorithm));
                     if (!m_swapped)
                     {
                            return new(mem) btConvexPlaneCollisionAlgorithm(0,ci,body0,body1,false);
                     } else
                     {
                            return new(mem) btConvexPlaneCollisionAlgorithm(0,ci,body0,body1,true);
                     }
              }

Here is the call graph for this function:


Member Data Documentation

Definition at line 29 of file btCollisionCreateFunc.h.


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