Bullet Collision Detection & Physics Library
Functions
btGpu3DGridBroadphaseSharedCode.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BT_GPU___device__ int3 bt3DGrid_calcGridPos (float4 p)
 
BT_GPU___device__ uint bt3DGrid_calcGridHash (int3 gridPos)
 
BT_GPU___global__ void calcHashAABBD (bt3DGrid3F1U *pAABB, uint2 *pHash, uint numBodies)
 
BT_GPU___global__ void findCellStartD (uint2 *pHash, uint *cellStart, uint numBodies)
 
BT_GPU___device__ uint cudaTestAABBOverlap (bt3DGrid3F1U min0, bt3DGrid3F1U max0, bt3DGrid3F1U min1, bt3DGrid3F1U max1)
 
BT_GPU___device__ void findPairsInCell (int3 gridPos, uint index, uint2 *pHash, uint *pCellStart, bt3DGrid3F1U *pAABB, uint *pPairBuff, uint2 *pPairBuffStartCurr, uint numBodies)
 
BT_GPU___global__ void findOverlappingPairsD (bt3DGrid3F1U *pAABB, uint2 *pHash, uint *pCellStart, uint *pPairBuff, uint2 *pPairBuffStartCurr, uint numBodies)
 
BT_GPU___global__ void findPairsLargeD (bt3DGrid3F1U *pAABB, uint2 *pHash, uint *pCellStart, uint *pPairBuff, uint2 *pPairBuffStartCurr, uint numBodies, uint numLarge)
 
BT_GPU___global__ void computePairCacheChangesD (uint *pPairBuff, uint2 *pPairBuffStartCurr, uint *pPairScan, bt3DGrid3F1U *pAABB, uint numBodies)
 
BT_GPU___global__ void squeezeOverlappingPairBuffD (uint *pPairBuff, uint2 *pPairBuffStartCurr, uint *pPairScan, uint *pPairOut, bt3DGrid3F1U *pAABB, uint numBodies)
 
void BT_GPU_PREF() calcHashAABB (bt3DGrid3F1U *pAABB, unsigned int *hash, unsigned int numBodies)
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! More...
 
void BT_GPU_PREF (findCellStart(unsigned int *hash, unsigned int *cellStart, unsigned int numBodies, unsigned int numCells))
 
void BT_GPU_PREF (findOverlappingPairs(bt3DGrid3F1U *pAABB, unsigned int *pHash, unsigned int *pCellStart, unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int numBodies))
 
void BT_GPU_PREF (findPairsLarge(bt3DGrid3F1U *pAABB, unsigned int *pHash, unsigned int *pCellStart, unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int numBodies, unsigned int numLarge))
 
void BT_GPU_PREF (computePairCacheChanges(unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int *pPairScan, bt3DGrid3F1U *pAABB, unsigned int numBodies))
 
void BT_GPU_PREF (squeezeOverlappingPairBuff(unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int *pPairScan, unsigned int *pPairOut, bt3DGrid3F1U *pAABB, unsigned int numBodies))
 

Function Documentation

BT_GPU___device__ uint bt3DGrid_calcGridHash ( int3  gridPos)

Definition at line 43 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___device__ int3 bt3DGrid_calcGridPos ( float4  p)

Definition at line 31 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF ( findCellStart(unsigned int *hash, unsigned int *cellStart, unsigned int numBodies, unsigned int numCells)  )

Definition at line 363 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF ( findOverlappingPairs(bt3DGrid3F1U *pAABB, unsigned int *pHash, unsigned int *pCellStart, unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int numBodies)  )

Definition at line 374 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF ( findPairsLarge(bt3DGrid3F1U *pAABB, unsigned int *pHash, unsigned int *pCellStart, unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int numBodies, unsigned int numLarge)  )

Definition at line 390 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF ( computePairCacheChanges(unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int *pPairScan, bt3DGrid3F1U *pAABB, unsigned int numBodies)  )

Definition at line 406 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF ( squeezeOverlappingPairBuff(unsigned int *pPairBuff, unsigned int *pPairBuffStartCurr, unsigned int *pPairScan, unsigned int *pPairOut, bt3DGrid3F1U *pAABB, unsigned int numBodies)  )

Definition at line 416 of file btGpu3DGridBroadphaseSharedCode.h.

void BT_GPU_PREF() calcHashAABB ( bt3DGrid3F1U pAABB,
unsigned int *  hash,
unsigned int  numBodies 
)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 351 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void calcHashAABBD ( bt3DGrid3F1U pAABB,
uint2 pHash,
uint  numBodies 
)

Definition at line 54 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void computePairCacheChangesD ( uint pPairBuff,
uint2 pPairBuffStartCurr,
uint pPairScan,
bt3DGrid3F1U pAABB,
uint  numBodies 
)

Definition at line 274 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___device__ uint cudaTestAABBOverlap ( bt3DGrid3F1U  min0,
bt3DGrid3F1U  max0,
bt3DGrid3F1U  min1,
bt3DGrid3F1U  max1 
)

Definition at line 104 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void findCellStartD ( uint2 pHash,
uint cellStart,
uint  numBodies 
)

Definition at line 76 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void findOverlappingPairsD ( bt3DGrid3F1U pAABB,
uint2 pHash,
uint pCellStart,
uint pPairBuff,
uint2 pPairBuffStartCurr,
uint  numBodies 
)

Definition at line 191 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___device__ void findPairsInCell ( int3  gridPos,
uint  index,
uint2 pHash,
uint pCellStart,
bt3DGrid3F1U pAABB,
uint pPairBuff,
uint2 pPairBuffStartCurr,
uint  numBodies 
)

Definition at line 113 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void findPairsLargeD ( bt3DGrid3F1U pAABB,
uint2 pHash,
uint pCellStart,
uint pPairBuff,
uint2 pPairBuffStartCurr,
uint  numBodies,
uint  numLarge 
)

Definition at line 221 of file btGpu3DGridBroadphaseSharedCode.h.

BT_GPU___global__ void squeezeOverlappingPairBuffD ( uint pPairBuff,
uint2 pPairBuffStartCurr,
uint pPairScan,
uint pPairOut,
bt3DGrid3F1U pAABB,
uint  numBodies 
)

Definition at line 301 of file btGpu3DGridBroadphaseSharedCode.h.