Bullet Collision Detection & Physics Library
Public Member Functions | Private Attributes | List of all members
spuNodeCallback Class Reference
Inheritance diagram for spuNodeCallback:
Inheritance graph
[legend]
Collaboration diagram for spuNodeCallback:
Collaboration graph
[legend]

Public Member Functions

 spuNodeCallback (SpuCollisionPairInput *wuInput, CollisionTask_LocalStoreMemory *lsMemPtr, SpuContactResult &spuContacts)
 
virtual void processNode (int subPart, int triangleIndex)
 
- Public Member Functions inherited from btNodeOverlapCallback
virtual ~btNodeOverlapCallback ()
 

Private Attributes

SpuCollisionPairInputm_wuInput
 
SpuContactResultm_spuContacts
 
CollisionTask_LocalStoreMemorym_lsMemPtr
 
btTriangleShape m_tmpTriangleShape
 
btVector3 spuTriangleVertices [3]
 
btScalar spuUnscaledVertex [4]
 

Detailed Description

Definition at line 294 of file SpuGatheringCollisionTask.cpp.

Constructor & Destructor Documentation

spuNodeCallback::spuNodeCallback ( SpuCollisionPairInput wuInput,
CollisionTask_LocalStoreMemory lsMemPtr,
SpuContactResult spuContacts 
)
inline

Definition at line 307 of file SpuGatheringCollisionTask.cpp.

Member Function Documentation

virtual void spuNodeCallback::processNode ( int  subPart,
int  triangleIndex 
)
inlinevirtual

Create a triangle on the stack, call process collision, with GJK DMA the vertices, can benefit from software caching

handle un-aligned vertices...

this flush should be automatic

Implements btNodeOverlapCallback.

Definition at line 314 of file SpuGatheringCollisionTask.cpp.

Member Data Documentation

CollisionTask_LocalStoreMemory* spuNodeCallback::m_lsMemPtr
private

Definition at line 298 of file SpuGatheringCollisionTask.cpp.

SpuContactResult& spuNodeCallback::m_spuContacts
private

Definition at line 297 of file SpuGatheringCollisionTask.cpp.

btTriangleShape spuNodeCallback::m_tmpTriangleShape
private

Definition at line 299 of file SpuGatheringCollisionTask.cpp.

SpuCollisionPairInput* spuNodeCallback::m_wuInput
private

Definition at line 296 of file SpuGatheringCollisionTask.cpp.

btVector3 spuNodeCallback::spuTriangleVertices[3]
private

Definition at line 301 of file SpuGatheringCollisionTask.cpp.

btScalar spuNodeCallback::spuUnscaledVertex[4]
private

Definition at line 302 of file SpuGatheringCollisionTask.cpp.


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