Bullet Collision Detection & Physics Library
Functions
SpuContactResult.cpp File Reference
#include "SpuContactResult.h"
Include dependency graph for SpuContactResult.cpp:

Go to the source code of this file.

Functions

btScalar calculateCombinedFriction (btScalar friction0, btScalar friction1)
 User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;. More...
 
btScalar calculateCombinedRestitution (btScalar restitution0, btScalar restitution1)
 
bool ManifoldResultAddContactPoint (const btVector3 &normalOnBInWorld, const btVector3 &pointInWorld, float depth, btPersistentManifold *manifoldPtr, btTransform &transA, btTransform &transB, btScalar combinedFriction, btScalar combinedRestitution, bool isSwapped)
 return true if it requires a dma transfer back More...
 

Function Documentation

btScalar calculateCombinedFriction ( btScalar  friction0,
btScalar  friction1 
)
inline

User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;.

Definition at line 40 of file SpuContactResult.cpp.

btScalar calculateCombinedRestitution ( btScalar  restitution0,
btScalar  restitution1 
)
inline

Definition at line 54 of file SpuContactResult.cpp.

bool ManifoldResultAddContactPoint ( const btVector3 normalOnBInWorld,
const btVector3 pointInWorld,
float  depth,
btPersistentManifold manifoldPtr,
btTransform transA,
btTransform transB,
btScalar  combinedFriction,
btScalar  combinedRestitution,
bool  isSwapped 
)

return true if it requires a dma transfer back

Definition at line 87 of file SpuContactResult.cpp.