| Bullet Collision Detection & Physics Library
    | 
#include <btBatchedConstraints.h>

| Classes | |
| struct | Range | 
| Public Types | |
| enum | BatchingMethod { BATCHING_METHOD_SPATIAL_GRID_2D, BATCHING_METHOD_SPATIAL_GRID_3D, BATCHING_METHOD_COUNT } | 
| Public Member Functions | |
| btBatchedConstraints () | |
| void | setup (btConstraintArray *constraints, const btAlignedObjectArray< btSolverBody > &bodies, BatchingMethod batchingMethod, int minBatchSize, int maxBatchSize, btAlignedObjectArray< char > *scratchMemory) | 
| bool | validate (btConstraintArray *constraints, const btAlignedObjectArray< btSolverBody > &bodies) const | 
| Public Attributes | |
| btAlignedObjectArray< int > | m_constraintIndices | 
| btAlignedObjectArray< Range > | m_batches | 
| btAlignedObjectArray< Range > | m_phases | 
| btAlignedObjectArray< char > | m_phaseGrainSize | 
| btAlignedObjectArray< int > | m_phaseOrder | 
| btIDebugDraw * | m_debugDrawer | 
| Static Public Attributes | |
| static bool | s_debugDrawBatches = false | 
Definition at line 26 of file btBatchedConstraints.h.
| Enumerator | |
|---|---|
| BATCHING_METHOD_SPATIAL_GRID_2D | |
| BATCHING_METHOD_SPATIAL_GRID_3D | |
| BATCHING_METHOD_COUNT | |
Definition at line 28 of file btBatchedConstraints.h.
| 
 | inline | 
Definition at line 52 of file btBatchedConstraints.h.
| void btBatchedConstraints::setup | ( | btConstraintArray * | constraints, | 
| const btAlignedObjectArray< btSolverBody > & | bodies, | ||
| BatchingMethod | batchingMethod, | ||
| int | minBatchSize, | ||
| int | maxBatchSize, | ||
| btAlignedObjectArray< char > * | scratchMemory | ||
| ) | 
Definition at line 1059 of file btBatchedConstraints.cpp.
| bool btBatchedConstraints::validate | ( | btConstraintArray * | constraints, | 
| const btAlignedObjectArray< btSolverBody > & | bodies | ||
| ) | const | 
Definition at line 44 of file btBatchedConstraints.cpp.
| btAlignedObjectArray<Range> btBatchedConstraints::m_batches | 
Definition at line 44 of file btBatchedConstraints.h.
| btAlignedObjectArray<int> btBatchedConstraints::m_constraintIndices | 
Definition at line 43 of file btBatchedConstraints.h.
| btIDebugDraw* btBatchedConstraints::m_debugDrawer | 
Definition at line 48 of file btBatchedConstraints.h.
| btAlignedObjectArray<char> btBatchedConstraints::m_phaseGrainSize | 
Definition at line 46 of file btBatchedConstraints.h.
| btAlignedObjectArray<int> btBatchedConstraints::m_phaseOrder | 
Definition at line 47 of file btBatchedConstraints.h.
| btAlignedObjectArray<Range> btBatchedConstraints::m_phases | 
Definition at line 45 of file btBatchedConstraints.h.
| 
 | static | 
Definition at line 50 of file btBatchedConstraints.h.
 1.8.16
 1.8.16