Blender V2.61 - r43446
Public Member Functions | Public Attributes

btSingleSweepCallback Struct Reference

Inheritance diagram for btSingleSweepCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btSingleSweepCallback (const btConvexShape *castShape, const btTransform &convexFromTrans, const btTransform &convexToTrans, const btCollisionWorld *world, btCollisionWorld::ConvexResultCallback &resultCallback, btScalar allowedPenetration)
virtual bool process (const btBroadphaseProxy *proxy)

Public Attributes

btTransform m_convexFromTrans
btTransform m_convexToTrans
btVector3 m_hitNormal
const btCollisionWorldm_world
btCollisionWorld::ConvexResultCallbackm_resultCallback
btScalar m_allowedCcdPenetration
const btConvexShape * m_castShape

Detailed Description

Definition at line 884 of file btCollisionWorld.cpp.


Constructor & Destructor Documentation

btSingleSweepCallback::btSingleSweepCallback ( const btConvexShape *  castShape,
const btTransform convexFromTrans,
const btTransform convexToTrans,
const btCollisionWorld world,
btCollisionWorld::ConvexResultCallback resultCallback,
btScalar  allowedPenetration 
) [inline]

what about division by zero? --> just set rayDirection[i] to INF/BT_LARGE_FLOAT

Definition at line 896 of file btCollisionWorld.cpp.

References BT_LARGE_FLOAT, btTransform::getOrigin(), m_convexFromTrans, m_convexToTrans, btBroadphaseRayCallback::m_lambda_max, btBroadphaseRayCallback::m_rayDirectionInverse, and btBroadphaseRayCallback::m_signs.


Member Function Documentation

virtual bool btSingleSweepCallback::process ( const btBroadphaseProxy *  proxy) [inline, virtual]

Member Data Documentation

Definition at line 892 of file btCollisionWorld.cpp.

Referenced by process().

const btConvexShape* btSingleSweepCallback::m_castShape

Definition at line 893 of file btCollisionWorld.cpp.

Referenced by process().

Definition at line 887 of file btCollisionWorld.cpp.

Referenced by btSingleSweepCallback(), and process().

Definition at line 888 of file btCollisionWorld.cpp.

Referenced by btSingleSweepCallback(), and process().

Definition at line 889 of file btCollisionWorld.cpp.

Definition at line 891 of file btCollisionWorld.cpp.

Referenced by process().

Definition at line 890 of file btCollisionWorld.cpp.

Referenced by process().


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